Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
fix(user_id): delete team_leader from contest_team & set team_leader_…
Browse files Browse the repository at this point in the history
…uuid as not-null
  • Loading branch information
FranGuam committed Mar 18, 2024
1 parent 58f3abf commit ee182a2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@
- submitted_code_num
- team_id
- team_intro
- team_leader
- team_leader_uuid
- team_name
- updated_at
Expand All @@ -589,7 +588,6 @@
- submitted_code_num
- team_id
- team_intro
- team_leader
- team_leader_uuid
- team_name
- updated_at
Expand All @@ -608,7 +606,6 @@
- submitted_code_num
- team_id
- team_intro
- team_leader
- team_leader_uuid
- team_name
- updated_at
Expand All @@ -627,7 +624,6 @@
- submitted_code_num
- team_id
- team_intro
- team_leader
- team_leader_uuid
- team_name
- updated_at
Expand All @@ -646,7 +642,6 @@
- submitted_code_num
- team_id
- team_intro
- team_leader
- team_leader_uuid
- team_name
- updated_at
Expand All @@ -661,7 +656,6 @@
- submitted_code_num
- team_id
- team_intro
- team_leader
- team_leader_uuid
- team_name
- updated_at
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."contest_team" alter column "team_leader_uuid" drop not null;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."contest_team" alter column "team_leader_uuid" set not null;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
comment on column "public"."contest_team"."team_leader" is E'比赛队伍';
alter table "public"."contest_team" alter column "team_leader" drop not null;
alter table "public"."contest_team" add column "team_leader" text;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "public"."contest_team" drop column "team_leader" cascade;

0 comments on commit ee182a2

Please sign in to comment.