Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2da0787
commit 880abbe
Showing
6 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
backends/hasura/metadata/databases/default/tables/public_platform.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
table: | ||
name: platform | ||
schema: public | ||
is_enum: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
backends/hasura/migrations/default/1629635728471_create_table_public_platform/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE "public"."platform"; |
1 change: 1 addition & 0 deletions
1
backends/hasura/migrations/default/1629635728471_create_table_public_platform/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE TABLE "public"."platform" ("value" text NOT NULL, "comment" text, PRIMARY KEY ("value") ); |
6 changes: 6 additions & 0 deletions
6
backends/hasura/migrations/default/1629635812331_insert_into_platform_enum/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- Could not auto-generate a down migration. | ||
-- Please write an appropriate down migration for the SQL below: | ||
-- INSERT INTO platform (value) VALUES | ||
-- ('ANDROID'), | ||
-- ('IOS'), | ||
-- ('WEB'); |
4 changes: 4 additions & 0 deletions
4
backends/hasura/migrations/default/1629635812331_insert_into_platform_enum/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
INSERT INTO platform (value) VALUES | ||
('ANDROID'), | ||
('IOS'), | ||
('WEB'); |