-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f0a2c7
commit 5c6bfb0
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...planx.uk/migrations/1734623060683_create_table_public_temp_data_migrations_audit/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE "public"."temp_data_migrations_audit"; |
8 changes: 8 additions & 0 deletions
8
...a.planx.uk/migrations/1734623060683_create_table_public_temp_data_migrations_audit/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE TABLE "public"."temp_data_migrations_audit" ( | ||
"flow_id" uuid NOT NULL, | ||
"team_id" integer NOT NULL, | ||
"updated" boolean NOT NULL DEFAULT false, | ||
"updated_at" timestamptz NOT NULL DEFAULT now(), | ||
PRIMARY KEY ("flow_id") | ||
); | ||
COMMENT ON TABLE "public"."temp_data_migrations_audit" IS E'Basic table structure that we can use to track status of data migrations. Contents of this table are ephemeral and may be truncated between migrations'; |