best way to create schema with gql

This commit is contained in:
José Salazar
2025-11-17 19:53:58 -05:00
parent 28b50f81a4
commit b3ff3f14ed
6 changed files with 58 additions and 56 deletions

View File

@@ -1,13 +1,13 @@
specVersion: "v1"
serviceId: "krow-workforce"
serviceId: "krow-workforce-db"
location: "us-central1"
schema:
source: "./schema"
datasource:
postgresql:
database: "fdcdb"
database: "krow_db"
cloudSql:
instanceId: "krow-workforce-fdc"
instanceId: "krow-sql"
# schemaValidation: "STRICT" # STRICT mode makes Postgres schema match Data Connect exactly.
# schemaValidation: "COMPATIBLE" # COMPATIBLE mode makes Postgres schema compatible with Data Connect.
connectorDirs: ["./connector"]