Todo's server syncs with serverpod_offline_sync as Learn's and Train's do, and holds two synced tables, every payload sealed on the devices: content_key (the person's data key, sealed to the account) and project (the Inbox or one of the person's own, changed when edited). A person's space goes with them, with everything in it. The migration only adds: the two tables, each indexed on spaceId and cascading with its space (ON DELETE CASCADE to offline_sync_spaces), the sync engine's own tables (crdt_*, offline_sync_*) with their foreign keys, the gen_random_uuid_v7() function their ids default to, and the modules' version rows. Nothing is dropped or changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
24 lines
883 B
Text
24 lines
883 B
Text
### AUTOMATICALLY GENERATED DO NOT MODIFY
|
|
###
|
|
### This file is generated by Serverpod when creating a migration, do not modify it
|
|
### manually. If a collision is detected in this file when doing a code merge, resolve
|
|
### the conflict by removing and recreating the conflicting migration.
|
|
|
|
20261019193547604
|
|
20261019201213254-profiles
|
|
20261019204122341-deletion-notices
|
|
20261020111950710-passwords
|
|
20261020125124942-sessions-ended
|
|
20261020185752014-recovery-proof-key
|
|
20261020194229631-second-factor-waits
|
|
20261020204619863-session-code-tries
|
|
20261020211225101-email-code-purpose
|
|
20261021100422779-session-ended-warning
|
|
20261021110200318-second-factor-paths
|
|
20261021134804476-reset-hold-outs
|
|
20261023181810436-oidc-module
|
|
20261023192913500-simplelogin-keys
|
|
20261025135744931-waiting-accounts
|
|
20261025165103193-assistants
|
|
20261026140330157-assistant-budgets
|
|
20261101000019144-projects
|