mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-24 07:52:14 +03:00
6436ac06e0
GitOrigin-RevId: 6f897b384a4469425d46b1bedf015ecbd1600fcc
43 lines
691 B
YAML
43 lines
691 B
YAML
type: bulk
|
|
args:
|
|
|
|
- type: mssql_track_table
|
|
args:
|
|
source: mssql
|
|
table:
|
|
name: author
|
|
|
|
#Article table
|
|
- type: mssql_track_table
|
|
args:
|
|
source: mssql
|
|
table:
|
|
name: article
|
|
|
|
#Article table
|
|
- type: mssql_track_table
|
|
args:
|
|
source: mssql
|
|
table:
|
|
name: city
|
|
|
|
#Object relationship
|
|
- type: mssql_create_object_relationship
|
|
args:
|
|
source: mssql
|
|
table: article
|
|
name: author
|
|
using:
|
|
foreign_key_constraint_on: author_id
|
|
|
|
#Array relationship
|
|
- type: mssql_create_array_relationship
|
|
args:
|
|
source: mssql
|
|
table: author
|
|
name: articles
|
|
using:
|
|
foreign_key_constraint_on:
|
|
table: article
|
|
column: author_id
|