graphql-engine/docs/examples_schema_migrations/1531128892752_run_sql_migration.up.yaml

10 lines
187 B
YAML
Raw Normal View History

- 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