Skip to content

Commit

Permalink
update migrate.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
710leo committed Dec 22, 2023
1 parent 3cf4a2e commit 47b4464
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/initsql/migrate.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ ALTER TABLE configs ADD COLUMN update_at INT DEFAULT 0 COMMENT 'update_at';
ALTER TABLE configs ADD COLUMN update_by VARCHAR(64) DEFAULT '' COMMENT 'update_by';
ALTER TABLE configs DROP INDEX ckey;

-- Alter table for Target
ALTER TABLE notify_tpl ADD COLUMN create_at INT DEFAULT 0 COMMENT 'create_at';
ALTER TABLE notify_tpl ADD COLUMN create_by VARCHAR(64) DEFAULT '' COMMENT 'create_by';
ALTER TABLE notify_tpl ADD COLUMN update_at INT DEFAULT 0 COMMENT 'update_at';
ALTER TABLE notify_tpl ADD COLUMN update_by VARCHAR(64) DEFAULT '' COMMENT 'update_by';

0 comments on commit 47b4464

Please sign in to comment.