From 4ee3dbd5f77f19b16deb76f73db9647e1f81e9ed Mon Sep 17 00:00:00 2001 From: zzdhyb <139191187+zzdhybthu@users.noreply.github.com> Date: Sat, 17 Aug 2024 17:05:31 +0800 Subject: [PATCH] fix: set nullable (#187) * feat: rearrange mentor application form * fix: set nullable * fix: set nullable --- metadata/tables.yaml | 5 ----- .../down.sql | 1 - .../up.sql | 1 - 3 files changed, 7 deletions(-) delete mode 100644 migrations/1723208779923_alter_table_public_mentor_application_alter_column_year/down.sql delete mode 100644 migrations/1723208779923_alter_table_public_mentor_application_alter_column_year/up.sql diff --git a/metadata/tables.yaml b/metadata/tables.yaml index 23fc28c..e50030e 100644 --- a/metadata/tables.yaml +++ b/metadata/tables.yaml @@ -3250,7 +3250,6 @@ _eq: X-Hasura-User-Id columns: - available - - max_applicant - mentor_uuid select_permissions: - role: counselor @@ -3258,7 +3257,6 @@ columns: - available - created_at - - max_applicant - mentor_uuid - updated_at filter: {} @@ -3267,7 +3265,6 @@ columns: - available - created_at - - max_applicant - mentor_uuid - updated_at filter: {} @@ -3276,7 +3273,6 @@ columns: - available - created_at - - max_applicant - mentor_uuid - updated_at filter: @@ -3287,7 +3283,6 @@ permission: columns: - available - - max_applicant filter: mentor_uuid: _eq: X-Hasura-User-Id diff --git a/migrations/1723208779923_alter_table_public_mentor_application_alter_column_year/down.sql b/migrations/1723208779923_alter_table_public_mentor_application_alter_column_year/down.sql deleted file mode 100644 index 5e11f6c..0000000 --- a/migrations/1723208779923_alter_table_public_mentor_application_alter_column_year/down.sql +++ /dev/null @@ -1 +0,0 @@ -alter table "public"."mentor_application" alter column "year" drop not null; diff --git a/migrations/1723208779923_alter_table_public_mentor_application_alter_column_year/up.sql b/migrations/1723208779923_alter_table_public_mentor_application_alter_column_year/up.sql deleted file mode 100644 index 163faf2..0000000 --- a/migrations/1723208779923_alter_table_public_mentor_application_alter_column_year/up.sql +++ /dev/null @@ -1 +0,0 @@ -alter table "public"."mentor_application" alter column "year" set not null;