Постановка нового маршрута

This commit is contained in:
2026-01-04 18:18:29 +03:00
parent 96d1e4b6a5
commit 49a2913884
8 changed files with 119 additions and 67 deletions
+3 -2
View File
@@ -85,12 +85,13 @@ CREATE TABLE `up_and_down`.`diaries` (
);
CREATE TABLE `up_and_down`.`medications` (
`uuid` CHAR(36) NOT NULL,
`uuid` CHAR(36) NOT NULL,
`name` TEXT NOT NULL,
`dose` int8 NOT NULL,
`unit` CHAR(30),
`is_urgent` BOOL NOT NULL,
PRIMARY KEY (`uuid`)
PRIMARY KEY (`uuid`),
UNIQUE KEY `uniq_medication` (`name`(255), `dose`, `unit`, `is_urgent`)
);
CREATE TABLE `up_and_down`.`treatment_schemes` (