82b2be48cd
* feat: Add Medication Refill feature with UI improvements - Add refill functionality to medications (add packs/loose pills) - Add refill API endpoint with history tracking - Add refill section in edit forms (desktop & mobile) - Add refill modal in medication detail view - Add refill history display with expand/collapse - Add schedule lightbox for clicking medication images - Improve button styling with primary/info/success classes - Move '+ New entry' button to medication list header - Lightbox size: 50% desktop, 90% mobile - Update selectedMed sync after stock changes - Migrate from schema-sql.ts to Drizzle Kit migrations * fix: Improve mobile tooltips and refill modal layout - Center tooltips on screen for mobile devices (fixed position) - Close tooltips automatically when scrolling on touch devices - Use click-based tooltip activation instead of hover on mobile - Fix refill modal buttons to display in two rows on mobile
11 lines
236 B
TypeScript
11 lines
236 B
TypeScript
import { defineConfig } from "drizzle-kit";
|
|
|
|
export default defineConfig({
|
|
schema: "./src/db/schema.ts",
|
|
out: "./drizzle",
|
|
dialect: "sqlite",
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL || "./data/medassist.db",
|
|
},
|
|
});
|