generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When using gorm:table_options with migrator, the generated 'create table' clause looks like the following, a space is missing before keyword 'TABLESPACE'.
===gorm:table_options
DB.Set("gorm:table_options", "TABLESPACE SYSAUX").AutoMigrate(&JsonRecord{});
===Generated create table sql:
2025/09/17 00:57:38 �[32m/scratch/shulili/GORM/gorm-github/gorm-oracle/oracle/migrator.go:208
�[0m�[33m[13.631ms] �[34;1m[rows:0]�[0m CREATE TABLE "json_records" ("record_id" NUMBER(20) GENERATED BY DEFAULT AS IDENTITY,"name" VARCHAR2(4000),"properties" JSON,PRIMARY KEY ("record_id"))TABLESPACE SYSAUX
Metadata
Metadata
Assignees
Labels
No labels