File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,17 @@ The frontend can be accessed at `http://localhost:3036` in a browser.
2626
2727See [ MSSQL Configuration] ( ../../services/mssql/mssql.yaml ) for the SQL server configuration
2828The SQL server is initialized with the [ init] ( ../../services/mssql/init.sql ) script.
29+
30+ The initialization script (` init.sql ` ) performs the following setup steps:
31+
32+ 1 . ** Database Creation** : Creates the application database
33+ 2 . ** CDC Setup** : Enables Change Data Capture at the database level
34+ 3 . ** User Creation** : Creates a SQL Server login and database user with appropriate permissions
35+ 4 . ** Create PowerSync Checkpoints table** : Creates the required ` _powersync_checkpoints ` table.
36+ 5 . ** Self Host Demo Tables** : Creates the demo tables (` lists ` and ` todos ` )
37+ 6 . ** Enable Table CDC** : Enables CDC tracking on the demo tables
38+ 7 . ** Permissions** : Grants ` db_datareader ` and ` cdc_reader ` roles to the application user
39+ 8 . ** Sample Data** : Inserts initial test data into the ` lists ` table
40+
41+ All operations are idempotent, so they can safely be re-run without errors.
42+
You can’t perform that action at this time.
0 commit comments