Skip to content

Commit

Permalink
feat(hasura): add PlatformEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
jjangga0214 committed Aug 22, 2021
1 parent 2da0787 commit 880abbe
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
@@ -0,0 +1,4 @@
table:
name: platform
schema: public
is_enum: true
@@ -1,5 +1,6 @@
- "!include public_identity.yaml"
- "!include public_idp.yaml"
- "!include public_platform.yaml"
- "!include public_role.yaml"
- "!include public_task.yaml"
- "!include public_task_group.yaml"
Expand Down
@@ -0,0 +1 @@
DROP TABLE "public"."platform";
@@ -0,0 +1 @@
CREATE TABLE "public"."platform" ("value" text NOT NULL, "comment" text, PRIMARY KEY ("value") );
@@ -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');
@@ -0,0 +1,4 @@
INSERT INTO platform (value) VALUES
('ANDROID'),
('IOS'),
('WEB');

0 comments on commit 880abbe

Please sign in to comment.