diff --git a/hasura.planx.uk/migrations/1731498412695_add description column to flows/down.sql b/hasura.planx.uk/migrations/1731498412695_add description column to flows/down.sql deleted file mode 100644 index def2473157..0000000000 --- a/hasura.planx.uk/migrations/1731498412695_add description column to flows/down.sql +++ /dev/null @@ -1 +0,0 @@ -alter table "public"."flows" drop column "description"; \ No newline at end of file diff --git a/hasura.planx.uk/migrations/1731498412695_add description column to flows/up.sql b/hasura.planx.uk/migrations/1731498412695_add description column to flows/up.sql deleted file mode 100644 index f20e6bfd5e..0000000000 --- a/hasura.planx.uk/migrations/1731498412695_add description column to flows/up.sql +++ /dev/null @@ -1 +0,0 @@ -alter table "public"."flows" add column "description" text; diff --git a/hasura.planx.uk/migrations/1731498447017_add template from column to flows/down.sql b/hasura.planx.uk/migrations/1731498412695_add_description_templated_from_to_flows/down.sql similarity index 50% rename from hasura.planx.uk/migrations/1731498447017_add template from column to flows/down.sql rename to hasura.planx.uk/migrations/1731498412695_add_description_templated_from_to_flows/down.sql index 64c82118d9..6854e01de9 100644 --- a/hasura.planx.uk/migrations/1731498447017_add template from column to flows/down.sql +++ b/hasura.planx.uk/migrations/1731498412695_add_description_templated_from_to_flows/down.sql @@ -1 +1,3 @@ +alter table "public"."flows" drop column "description"; + alter table "public"."flows" drop column "templated_from"; \ No newline at end of file diff --git a/hasura.planx.uk/migrations/1731498412695_add_description_templated_from_to_flows/up.sql b/hasura.planx.uk/migrations/1731498412695_add_description_templated_from_to_flows/up.sql new file mode 100644 index 0000000000..49cb59d58b --- /dev/null +++ b/hasura.planx.uk/migrations/1731498412695_add_description_templated_from_to_flows/up.sql @@ -0,0 +1,3 @@ +alter table "public"."flows" add column "description" text; + +alter table "public"."flows" add column "templated_from" uuid; \ No newline at end of file diff --git a/hasura.planx.uk/migrations/1731498447017_add template from column to flows/up.sql b/hasura.planx.uk/migrations/1731498447017_add template from column to flows/up.sql deleted file mode 100644 index 615303e0b1..0000000000 --- a/hasura.planx.uk/migrations/1731498447017_add template from column to flows/up.sql +++ /dev/null @@ -1 +0,0 @@ -alter table "public"."flows" add column "templated_from" timestamp;