From e4aeded6c105de6c8af6a931d5c24a659dcbd138 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 16:07:00 +0900 Subject: feat(crdt): add database migration for crdt_documents table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Drizzle migration to create the crdt_documents table with: - UUID primary key with auto-generation - Foreign key to users table with cascade delete - Unique index on (user_id, entity_type, entity_id) - Indexes for entity_type and sync_version queries 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- drizzle/meta/_journal.json | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drizzle/meta/_journal.json') diff --git a/drizzle/meta/_journal.json b/drizzle/meta/_journal.json index cdfca60..fe8279e 100644 --- a/drizzle/meta/_journal.json +++ b/drizzle/meta/_journal.json @@ -29,6 +29,13 @@ "when": 1767156818092, "tag": "0003_brave_blacklash", "breakpoints": true + }, + { + "idx": 4, + "version": "7", + "when": 1767164715079, + "tag": "0004_clean_leopardon", + "breakpoints": true } ] } \ No newline at end of file -- cgit v1.2.3-70-g09d2