Skip to content

Commit

Permalink
Merge pull request #127 from xiangmy21/dev
Browse files Browse the repository at this point in the history
del&add(article,contest): del useless article tables, add contest name
  • Loading branch information
xiangmy21 authored Nov 19, 2023
2 parents 8012253 + 5b0b9fe commit 9d2e2ae
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 598 deletions.
598 changes: 0 additions & 598 deletions metadata/tables.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP VIEW "public"."article_public";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP VIEW "public"."article_public";
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP table "public"."article_tag";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP table "public"."article_tag";
3 changes: 3 additions & 0 deletions migrations/1700400636577_drop_table_public_tag/down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP table "public"."tag";
1 change: 1 addition & 0 deletions migrations/1700400636577_drop_table_public_tag/up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP table "public"."tag";
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP table "public"."article_liker";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP table "public"."article_liker";
3 changes: 3 additions & 0 deletions migrations/1700400718224_drop_table_public_comment/down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP table "public"."comment";
1 change: 1 addition & 0 deletions migrations/1700400718224_drop_table_public_comment/up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP table "public"."comment";
3 changes: 3 additions & 0 deletions migrations/1700400734240_drop_table_public_article/down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP table "public"."article";
1 change: 1 addition & 0 deletions migrations/1700400734240_drop_table_public_article/up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP table "public"."article";
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP table "public"."department";
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP table "public"."department";
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."contest" add column "name" text
-- null unique;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table "public"."contest" add column "name" text
null unique;

0 comments on commit 9d2e2ae

Please sign in to comment.