Skip to content

Commit 4e22bce

Browse files
committed
add a space before table_options
1 parent 670eadb commit 4e22bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oracle/migrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func (m Migrator) CreateTable(values ...interface{}) error {
202202
createTableSQL += ")"
203203

204204
if tableOption, ok := m.DB.Get("gorm:table_options"); ok {
205-
createTableSQL += fmt.Sprint(tableOption)
205+
createTableSQL += " " + fmt.Sprint(tableOption)
206206
}
207207

208208
err = tx.Exec(createTableSQL, values...).Error

0 commit comments

Comments
 (0)