From 5bb62819796bcd3b5e945662c23299eb8db71e34 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 00:33:44 +0900 Subject: feat(db): add Note feature database schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add database tables and Zod validation schemas for Anki-compatible Note concept as outlined in the roadmap Phase 1: - note_types: defines note structure (templates, reversibility) - note_field_types: defines fields within a note type - notes: container for field values belonging to a deck - note_field_values: actual field content for notes - cards: add nullable note_id and is_reversed columns Includes migration file and comprehensive test coverage for all new Zod validation schemas. 🤖 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 f245fa6..5da2908 100644 --- a/drizzle/meta/_journal.json +++ b/drizzle/meta/_journal.json @@ -15,6 +15,13 @@ "when": 1764708169736, "tag": "0001_spotty_jane_foster", "breakpoints": true + }, + { + "idx": 2, + "version": "7", + "when": 1767108756805, + "tag": "0002_married_moondragon", + "breakpoints": true } ] } \ No newline at end of file -- cgit v1.2.3-70-g09d2