mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
4887f70caa
Fixes https://github.com/hasura/graphql-engine/issues/7453, by reverting #2078 (commit 47eaccdbfb3499efd2c9f733f3312ad31c77916f). https://hasurahq.slack.com/archives/CKFUG6RCH/p1629900718181700 https://github.com/hasura/graphql-engine-mono/pull/2204 GitOrigin-RevId: 53d5fee9c6008b26bc14213e5a16f6aba6d9c6b1
25 lines
381 B
YAML
25 lines
381 B
YAML
type: bulk
|
|
args:
|
|
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
CREATE TABLE "user"(
|
|
id SERIAL PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
age INTEGER
|
|
);
|
|
|
|
- type: track_table
|
|
args:
|
|
name: user
|
|
schema: public
|
|
- type: create_select_permission
|
|
args:
|
|
table: user
|
|
role: user
|
|
permission:
|
|
columns: '*'
|
|
filter:
|
|
id: X-Hasura-User-Id
|