Skip to content

Commit 1cdc439

Browse files
committed
Added additional config to mssql powersync.yaml
1 parent 029089a commit 1cdc439

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

demos/nodejs-mssql/config/powersync.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ replication:
99
- type: mssql
1010
uri: !env PS_DATA_SOURCE_URI
1111
schema: dbo
12-
trustServerCertificate: true
12+
additionalConfig:
13+
trustServerCertificate: true
1314

1415
# Connection settings for sync bucket storage
1516
storage:

services/mssql/init.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ END
147147
GO
148148

149149
-- Add demo data
150+
IF NOT EXISTS (SELECT 1 FROM dbo.lists)
150151
BEGIN
151152
INSERT INTO dbo.lists (id, name, owner_id)
152153
VALUES (NEWID(), 'Do a demo', NEWID());

0 commit comments

Comments
 (0)