b8c177bc55
* added .jj to .gitignore * chore: Add drizzle-orm and drizzle-kit dependencies to package.json and pnpm-lock.yaml * update debs * Edit configs * create drizzle schema * generate drizzle migration * db manager stuff * Delete unused files * Update DB Manager * Rework CategoryQueries and related * rewrite chapterQueries * Type safety for chapter order and filter * Better filter handling * added queue * added back database triggers * Refactor HistoryQueries and LibraryQueries * fix type issues * refactor StatsQueries * refactor NovelQueries * renamed schemas * refactor more db calls * refactor libraryUpdateQueries * removed deprecated code * added extracted queries * fix updates screen issue * change to op-sqlite * Update manager.ts * Update RepositoryQueries * update packages * Update NovelQueries * Update CategoryQueries.ts * db testing environment v1 (AI) * Refactor App component to use Suspense for loading state and update database initialization logic. Change drizzle-orm version to 0.45.1 and adjust related database queries for improved error handling and async operations. Clean up unused code and update types for better type safety. * updated tests * change db location to default expo-sqlite location * fix async/sync bugs * resolve rebase problems * Added tests for db creation + migration * update drizzle * add missing journals to migrations.js * wrap testDbManager in Proxy to be async * add db initialization test * fix lint errors * improved dbManager.batch function * remove unused file * fix rebase conflicts * use getColumns instead of getTableColumns * fix lint errors * fix release build not being able to start * remove disable lint rule * improved useLiveQuery * Resolve issue with the db queue constructor options * Fix database query issues in library and stats - Add missing await to all stats query functions - Remove unnecessary type casts on query results - Fix downloaded-only filter to use gt(0) instead of eq(1) --------- Co-authored-by: CD-Z <github.verify097@passmail.com>
8 lines
162 B
TypeScript
8 lines
162 B
TypeScript
import { defineConfig } from 'drizzle-kit';
|
|
|
|
export default defineConfig({
|
|
dialect: 'sqlite',
|
|
driver: 'expo',
|
|
schema: './src/database/schema/index.ts',
|
|
});
|