summaryrefslogtreecommitdiff
path: root/migrations/003_add_sync_tokens.sql
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/003_add_sync_tokens.sql')
-rw-r--r--migrations/003_add_sync_tokens.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/migrations/003_add_sync_tokens.sql b/migrations/003_add_sync_tokens.sql
new file mode 100644
index 0000000..dd29576
--- /dev/null
+++ b/migrations/003_add_sync_tokens.sql
@@ -0,0 +1,6 @@
+-- Sync tokens table for incremental API sync
+CREATE TABLE IF NOT EXISTS sync_tokens (
+ service TEXT PRIMARY KEY,
+ token TEXT NOT NULL,
+ updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
+);