diff --git a/oracle/migrator.go b/oracle/migrator.go index b1d8b54..7ee2fc6 100644 --- a/oracle/migrator.go +++ b/oracle/migrator.go @@ -202,7 +202,7 @@ func (m Migrator) CreateTable(values ...interface{}) error { createTableSQL += ")" if tableOption, ok := m.DB.Get("gorm:table_options"); ok { - createTableSQL += fmt.Sprint(tableOption) + createTableSQL += " " + fmt.Sprint(tableOption) } err = tx.Exec(createTableSQL, values...).Error