mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 05:21:47 +03:00
e01008413e
This fix is a little ugly, but it’s the only simple solution without a significant refactoring that restructures the relationship between GraphQL/Validate and GraphQL/Resolve. The ugliness should go away if we implement something like #2801.
10 lines
215 B
YAML
10 lines
215 B
YAML
type: bulk
|
|
args:
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
CREATE TABLE users (id serial PRIMARY KEY, name text NOT NULL);
|
|
INSERT INTO users (name) VALUES ('Alyssa'), ('Ben');
|
|
- type: track_table
|
|
args: users
|