mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
95adde4ce2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4584 Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com> GitOrigin-RevId: 0f60c263efb5fbaa25620dd8159e8cfda25a61b2
25 lines
534 B
YAML
25 lines
534 B
YAML
type: bulk
|
|
args:
|
|
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
CREATE TABLE "user"(
|
|
id SERIAL PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
email TEXT NOT NULL,
|
|
is_admin BOOLEAN NOT NULL DEFAULT false
|
|
);
|
|
INSERT INTO "user" (id, name, email) VALUES
|
|
(1, 'foo', 'foo@email.com'),
|
|
(2, 'bar', 'bar@email.com'),
|
|
(3, 'bar', 'bar@email.com'),
|
|
(4, 'baz', 'baz@email.com');
|
|
|
|
- type: track_table
|
|
args:
|
|
table: user
|
|
schema: public
|
|
apollo_federation_config:
|
|
enable: v1
|