From c0fe0c91fde59daae66e6ba6335dec6d767ef53f Mon Sep 17 00:00:00 2001 From: Adrien Nortain <43404315+ZenikAdrien@users.noreply.github.com> Date: Wed, 12 Jul 2023 11:28:04 +0200 Subject: [PATCH] feat(skill): Add monitored column for skills (#646) --- .../down.sql | 4 ++++ .../up.sql | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 hasura/migrations/1689153587936_alter_table_public_Skill_add_column_monitored/down.sql create mode 100644 hasura/migrations/1689153587936_alter_table_public_Skill_add_column_monitored/up.sql diff --git a/hasura/migrations/1689153587936_alter_table_public_Skill_add_column_monitored/down.sql b/hasura/migrations/1689153587936_alter_table_public_Skill_add_column_monitored/down.sql new file mode 100644 index 00000000..661c8185 --- /dev/null +++ b/hasura/migrations/1689153587936_alter_table_public_Skill_add_column_monitored/down.sql @@ -0,0 +1,4 @@ +-- Could not auto-generate a down migration. +-- Please write an appropriate down migration for the SQL below: +-- alter table "public"."Skill" add column "monitored" boolean +-- not null default 'false'; diff --git a/hasura/migrations/1689153587936_alter_table_public_Skill_add_column_monitored/up.sql b/hasura/migrations/1689153587936_alter_table_public_Skill_add_column_monitored/up.sql new file mode 100644 index 00000000..9da9078f --- /dev/null +++ b/hasura/migrations/1689153587936_alter_table_public_Skill_add_column_monitored/up.sql @@ -0,0 +1,2 @@ +alter table "public"."Skill" add column "monitored" boolean + not null default 'false';