lila/packages/db
lila 55885336ba feat(db): add drizzle schema for vocabulary and deck tables
- terms, translations, term_glosses with cascade deletes and pos check constraint
- language_pairs with source/target language check constraints and no-self-pair guard
- users with openauth_sub as identity provider key
- decks and deck_terms with composite PK and position ordering
- indexes on all hot query paths (distractor generation, deck lookups, FK joins)
- SUPPORTED_POS and SUPPORTED_LANGUAGE_CODES as single source of truth in @glossa/shared
2026-03-28 19:02:10 +01:00
..
drizzle/meta chore(db): add drizzle migration pipeline with empty schema 2026-03-24 11:04:40 +01:00
src feat(db): add drizzle schema for vocabulary and deck tables 2026-03-28 19:02:10 +01:00
drizzle.config.ts chore(db): add drizzle migration pipeline with empty schema 2026-03-24 11:04:40 +01:00
package.json feat(db): add drizzle schema for vocabulary and deck tables 2026-03-28 19:02:10 +01:00
tsconfig.json formatting 2026-03-21 19:33:07 +01:00
vitest.config.ts chore: configure vitest with project-based setup and coverage 2026-03-20 19:25:00 +01:00