feat: refs #5919 drop version
This commit is contained in:
parent
8876a7ea8f
commit
1996a00af1
|
@ -1,7 +1,6 @@
|
|||
-- Eliminar locker
|
||||
ALTER TABLE `vn`.`worker` DROP COLUMN `locker`;
|
||||
|
||||
|
||||
CREATE TABLE `vn`.`locker` (
|
||||
`id` int(100) auto_increment,
|
||||
`code` varchar(10) DEFAULT NULL,
|
||||
|
@ -13,6 +12,8 @@ CREATE TABLE `vn`.`locker` (
|
|||
CONSTRAINT `locker_ibfk_1` FOREIGN KEY (`workerFk`) REFERENCES `worker` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|
||||
|
||||
ALTER TABLE vn.workerLog
|
||||
MODIFY COLUMN changedModel enum('Worker','Calendar','WorkerTimeControlMail','Business','WorkerDms','WorkerTimeControl', 'Locker') NOT NULL DEFAULT 'Worker';
|
||||
|
||||
-- Insertar taquillas disponibles para hombres (1A - 73A / 1B - 73B)
|
||||
INSERT INTO `vn`.`locker` (code, gender, workerFk) VALUES
|
||||
|
@ -56,7 +57,4 @@ INSERT INTO `vn`.`locker` (code, gender, workerFk) VALUES
|
|||
('200B', 'F', NULL), ('201B', 'F', NULL), ('202B', 'F', NULL), ('203B', 'F', NULL), ('204B', 'F', NULL),
|
||||
('205B', 'F', NULL), ('206B', 'F', NULL), ('207B', 'F', NULL), ('208B', 'F', NULL), ('209B', 'F', NULL),
|
||||
('210B', 'F', NULL), ('211B', 'F', NULL), ('212B', 'F', NULL), ('213B', 'F', NULL), ('214B', 'F', NULL),
|
||||
('215B', 'F', NULL), ('216B', 'F', NULL), ('217B', 'F', NULL);
|
||||
|
||||
|
||||
|
||||
('215B', 'F', NULL), ('216B', 'F', NULL), ('217B', 'F', NULL);
|
|
@ -1,2 +0,0 @@
|
|||
ALTER TABLE vn.workerLog
|
||||
MODIFY COLUMN changedModel enum('Worker','Calendar','WorkerTimeControlMail','Business','WorkerDms','WorkerTimeControl', 'Locker') NOT NULL DEFAULT 'Worker';
|
Loading…
Reference in New Issue