graphql-engine/server/tests-py/queries/graphql_introspection/custom_table_name/setup.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
436 B
YAML
Raw Normal View History

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