From 4e22bce3bef38f853ba8ede823abcd0cef88a9f1 Mon Sep 17 00:00:00 2001 From: Ting-Lan Wang Date: Tue, 28 Oct 2025 13:18:30 -0400 Subject: [PATCH] add a space before table_options --- oracle/migrator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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