graphql-engine/docs/examples_schema_migrations/1531128892752_run_sql_migration.up.yaml
2018-09-11 16:41:24 +05:30

10 lines
187 B
YAML

- args:
sql: |-
CREATE VIEW article_safe AS
SELECT id, title, rating
FROM article;
type: run_sql
- args:
name: article_safe
type: add_existing_table_or_view