0d2dc2c257
- Replace custom migration system with modern Drizzle ORM implementation - Add drizzle-orm and drizzle-kit dependencies for type-safe database operations - Refactor BaseService to use Drizzle client with full type safety - Create schema definitions in /database/schema/ using Drizzle patterns - Remove legacy migration files, queries, and migrator classes - Add comprehensive documentation for new Drizzle-based architecture - Maintain backward compatibility in service layer APIs - Simplify database operations with modern ORM patterns This migration eliminates custom SQL generation in favor of a proven, type-safe ORM solution that provides better developer experience and maintainability.
12 lines
244 B
TypeScript
12 lines
244 B
TypeScript
/**
|
|
* Database Module
|
|
*
|
|
* This module provides centralized access to Drizzle ORM schemas
|
|
* for type-safe database operations.
|
|
*
|
|
* Schema evolution is handled by Drizzle Kit migrations.
|
|
*/
|
|
|
|
// Drizzle ORM schemas
|
|
export * from './schema'
|