``` refactor(db): 移除SQL语句中的public schema前缀
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
-- 添加不能为空且默认值为0的字段
|
||||
ALTER TABLE PUBLIC.doc_record ADD COLUMN print_count INT4 NOT NULL DEFAULT 0;
|
||||
ALTER TABLE doc_record ADD COLUMN print_count INT4 NOT NULL DEFAULT 0;
|
||||
-- 添加字段备注
|
||||
COMMENT ON COLUMN PUBLIC.doc_record.print_count IS '打印次数';
|
||||
COMMENT ON COLUMN doc_record.print_count IS '打印次数';
|
||||
|
||||
-- Insert migration record
|
||||
INSERT INTO __MigrationsHistory (MigrationId, ProductVersion)
|
||||
VALUES ('202511191103 ALTER TABLE PUBLIC.doc_record ADD COLUMN print_count', '1.0.0');
|
||||
VALUES ('202511191103 ALTER TABLE doc_record ADD COLUMN print_count', '1.0.0');
|
||||
Reference in New Issue
Block a user