generated from Sithas/conan_template
Постановка нового маршрута
This commit is contained in:
@@ -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` (
|
||||
|
||||
Reference in New Issue
Block a user