mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
5bc0355bdd
GitOrigin-RevId: abd7303aaf8e7a8739fd10574249aec450082ef8
38 lines
649 B
YAML
38 lines
649 B
YAML
type: bulk
|
|
args:
|
|
|
|
- type: run_sql
|
|
args:
|
|
sql: |
|
|
create table hge_tests.test_t2(
|
|
c1 int,
|
|
c2 text
|
|
);
|
|
create table hge_tests.articles(
|
|
id serial primary key,
|
|
content text,
|
|
title text,
|
|
is_public bool default false
|
|
);
|
|
|
|
- type: track_table
|
|
args:
|
|
schema: hge_tests
|
|
name: test_t2
|
|
- type: track_table
|
|
args:
|
|
schema: hge_tests
|
|
name: articles
|
|
- type: create_select_permission
|
|
args:
|
|
table:
|
|
schema: hge_tests
|
|
name: articles
|
|
role: public
|
|
permission:
|
|
columns:
|
|
- title
|
|
- content
|
|
filter:
|
|
is_public: true
|