Skip to content

Commit

Permalink
Add db migration files
Browse files Browse the repository at this point in the history
  • Loading branch information
james03160927 committed Jun 13, 2024
1 parent e97dc82 commit 60e7e2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ent/migrate/migrations/20240613213101_migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- Modify "publishers" table
ALTER TABLE "publishers" ADD COLUMN "status" character varying NOT NULL DEFAULT 'ACTIVE';
-- Modify "users" table
ALTER TABLE "users" ADD COLUMN "status" character varying NOT NULL DEFAULT 'ACTIVE';
3 changes: 2 additions & 1 deletion ent/migrate/migrations/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
h1:9EV71nxYeG+28BC8qftpzSYZzD+yHZeVSvxkILgTXLQ=
h1:gVoyHFo+06UTv2Ow/WG7tRMXFqP+OdqTXHcYCxp5Hw4=
20240526144817_migration.sql h1:sP6keX+oMyLL2qpIFx0Ns0WYfWM5hJ4zkFPmLWT68fM=
20240528220411_migration.sql h1:SR44sOEaWbDgYCKJZIKcGCI7Ta+LqL71z225Nhs2+HM=
20240528221846_migration.sql h1:EkUonGI9Bu689qWX4pG3PRC+On4f6u7UvwDbaR8mCNk=
20240528222851_migration.sql h1:VaQhEaDGe8M2kuNtKVjuMWMLJ9RhJVraVgSM4rm/XcQ=
20240601211932_migration.sql h1:zTofjRbLfoZZF8k6dvAMUDJGRENHAG3m1qqtLgTXUCQ=
20240613213101_migration.sql h1:IdCrUgCTyQPqxo/hFMHQN5LfIBH5WvSIbn9e+bCJ8t0=

0 comments on commit 60e7e2b

Please sign in to comment.