Skip to content

Commit

Permalink
fix: implement DefaultSchema for Oracle dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
bevzzz committed Oct 27, 2024
1 parent 9b810de commit d08fa40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dialect/oracledialect/dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"...)
}
Expand Down

0 comments on commit d08fa40

Please sign in to comment.