drizzle-sqlite
v0.1.0curatedComplete SQLite data layer with Drizzle ORM — schema, migrations, UUID v7 keys, audit fields, naming conventions, environment separation.
archgate adr import packs/drizzle-sqliteDecisions (7)
Applications that need a lightweight, embedded database must choose a technology that impacts deployment complexity, data portability, user privacy, and application architecture.
Applications need a clear, maintainable way to define data models and access the database from TypeScript code.
As applications evolve, database schemas must change to support new features, fix issues, or optimize performance.
Traditional auto-incrementing integer primary keys require the database to generate the next sequential ID, which only works when connected to the database.
Understanding when records were created and last modified is essential for debugging, data analysis, user experience (e.g., "last updated 5 minutes ago"), and synchronization in offline-first appli...
When working with Drizzle ORM and TypeScript, there is a fundamental naming mismatch between language conventions.
SQLite databases are stored as single files on the filesystem.