Skip to content

Commit

Permalink
feat: set default pg interval output
Browse files Browse the repository at this point in the history
  • Loading branch information
RutZap committed Jan 15, 2025
1 parent 7d4af97 commit e452115
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions migrations/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ func (m *Migrations) Apply(ctx context.Context, dryRun bool) error {
sql.WriteString("CREATE TABLE IF NOT EXISTS keel_schema (schema TEXT NOT NULL);\n")
sql.WriteString("DELETE FROM keel_schema;\n")

// Interval output format
sql.WriteString("SET intervalstyle = \"iso_8601\";\n")

b, err := protojson.Marshal(m.Schema)
if err != nil {
return err
Expand Down

0 comments on commit e452115

Please sign in to comment.