Skip to content

Commit 2d85455

Browse files
committed
Hotfix with PgGo implementation of SchemeCommenter.
1 parent 8bc226d commit 2d85455

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/pg.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func (db *PgGo) MakeTableComment(ctx context.Context, name string, comment strin
9696
_, err := db.conn.ExecContext(ctx,
9797
`COMMENT ON TABLE ? IS ?`,
9898
pg.Safe(name),
99-
pg.Safe(comment))
99+
comment)
100100

101101
return err
102102
}
@@ -106,7 +106,7 @@ func (db *PgGo) MakeColumnComment(ctx context.Context, tableName string, columnN
106106
`COMMENT ON COLUMN ?.? IS ?`,
107107
pg.Safe(tableName),
108108
pg.Safe(columnName),
109-
pg.Safe(comment))
109+
comment)
110110

111111
return err
112112
}

0 commit comments

Comments
 (0)