Skip to content

Commit

Permalink
Use backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanslade committed Dec 11, 2024
1 parent da2efe4 commit 1834fc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/sql2pgroll/alter_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ func convertAlterTableAddUniqueConstraint(stmt *pgq.AlterTableStmt, constraint *

// convertAlterTableSetColumnDefault converts SQL statements like:
//
// `ALTER TABLE foo COLUMN bar SET DEFAULT 'foo'
// `ALTER TABLE foo COLUMN bar SET DEFAULT null
// `ALTER TABLE foo COLUMN bar DROP DEFAULT
// `ALTER TABLE foo COLUMN bar SET DEFAULT 'foo'`
// `ALTER TABLE foo COLUMN bar SET DEFAULT null`
// `ALTER TABLE foo COLUMN bar DROP DEFAULT`
//
// to an OpDropColumn operation.
func convertAlterTableSetColumnDefault(stmt *pgq.AlterTableStmt, cmd *pgq.AlterTableCmd) (migrations.Operation, error) {
Expand Down

0 comments on commit 1834fc4

Please sign in to comment.