graphql-engine/server/tests-py/queries/graphql_introspection/custom_table_name/setup.yaml
Swann Moreau 5bc0355bdd [server] coalesce multiple run_sql calls in tests (#270)
GitOrigin-RevId: abd7303aaf8e7a8739fd10574249aec450082ef8
2021-01-06 16:07:22 +00:00

22 lines
436 B
YAML

type: bulk
args:
- type: run_sql
args:
sql: |
CREATE TABLE "user address" (
id serial primary key,
name text unique,
config jsonb
);
ALTER INDEX "user address_pkey" RENAME TO user_address_pkey;
ALTER INDEX "user address_name_key" RENAME TO user_address_name_key;
- type: track_table
version: 2
args:
table: user address
configuration:
custom_name: user_address