From d08fa40cc87d67296a83a77448ea511531fc8cdd Mon Sep 17 00:00:00 2001 From: dyma solovei Date: Sun, 27 Oct 2024 15:34:47 +0100 Subject: [PATCH] fix: implement DefaultSchema for Oracle dialect --- dialect/oracledialect/dialect.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dialect/oracledialect/dialect.go b/dialect/oracledialect/dialect.go index cc4806b3b..44360a0dd 100644 --- a/dialect/oracledialect/dialect.go +++ b/dialect/oracledialect/dialect.go @@ -89,6 +89,10 @@ func (d *Dialect) DefaultVarcharLen() int { return 255 } +func (d *Dialect) DefaultSchema() string { + return "app" +} + func (d *Dialect) AppendSequence(b []byte, table *schema.Table, field *schema.Field) []byte { return append(b, " GENERATED BY DEFAULT AS IDENTITY"...) }