7accb2aad6
* feat: add package amount persistence and backend route support * test: align backend test schemas with medication metadata fields * fix(backend): restore intake usage normalizer for planner endpoint * fix(backend): keep export typing compatible before liquid-unit stack step
5 lines
484 B
SQL
5 lines
484 B
SQL
ALTER TABLE `medications` ADD `medication_form` text(20) DEFAULT 'tablet' NOT NULL;--> statement-breakpoint
|
|
ALTER TABLE `medications` ADD `pill_form` text(20);--> statement-breakpoint
|
|
ALTER TABLE `medications` ADD `lifecycle_category` text(30) DEFAULT 'refill_when_empty' NOT NULL;--> statement-breakpoint
|
|
ALTER TABLE `medications` ADD `medication_end_date` text;--> statement-breakpoint
|
|
ALTER TABLE `medications` ADD `auto_mark_obsolete_after_end_date` integer DEFAULT true NOT NULL; |