From c80fa431701bce8298a8ca81e087dbcc0a4cbafb Mon Sep 17 00:00:00 2001 From: maxgfr <25312957+maxgfr@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:29:10 +0200 Subject: [PATCH] fix: down sql --- .../down.sql | 5 +---- .../down.sql | 5 +---- .../down.sql | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/targets/hasura/migrations/default/1723964804960_alter_table_information_informations_add_column_display_date/down.sql b/targets/hasura/migrations/default/1723964804960_alter_table_information_informations_add_column_display_date/down.sql index eb0b8e299..b937cee6d 100644 --- a/targets/hasura/migrations/default/1723964804960_alter_table_information_informations_add_column_display_date/down.sql +++ b/targets/hasura/migrations/default/1723964804960_alter_table_information_informations_add_column_display_date/down.sql @@ -1,4 +1 @@ --- Could not auto-generate a down migration. --- Please write an appropriate down migration for the SQL below: --- alter table "information"."informations" add column "display_date" date --- null; +alter table "information"."informations" drop column "display_date"; \ No newline at end of file diff --git a/targets/hasura/migrations/default/1723964851942_alter_table_contribution_answers_add_column_display_date/down.sql b/targets/hasura/migrations/default/1723964851942_alter_table_contribution_answers_add_column_display_date/down.sql index f035226bb..6de63f0dd 100644 --- a/targets/hasura/migrations/default/1723964851942_alter_table_contribution_answers_add_column_display_date/down.sql +++ b/targets/hasura/migrations/default/1723964851942_alter_table_contribution_answers_add_column_display_date/down.sql @@ -1,4 +1 @@ --- Could not auto-generate a down migration. --- Please write an appropriate down migration for the SQL below: --- alter table "contribution"."answers" add column "display_date" date --- null; +alter table "contribution"."answers" drop column "display_date"; \ No newline at end of file diff --git a/targets/hasura/migrations/default/1723964911747_alter_table_model_models_add_column_display_date/down.sql b/targets/hasura/migrations/default/1723964911747_alter_table_model_models_add_column_display_date/down.sql index 8255b5763..4ff983360 100644 --- a/targets/hasura/migrations/default/1723964911747_alter_table_model_models_add_column_display_date/down.sql +++ b/targets/hasura/migrations/default/1723964911747_alter_table_model_models_add_column_display_date/down.sql @@ -1,4 +1 @@ --- Could not auto-generate a down migration. --- Please write an appropriate down migration for the SQL below: --- alter table "model"."models" add column "display_date" date --- null; +alter table "model"."models" drop column "display_date"; \ No newline at end of file