12 lines
564 B
SQL
12 lines
564 B
SQL
-- Place your SQL code here
|
|
ALTER TABLE `postgresql`.`calendar_labour_type` RENAME `vn`.`calendarType`;
|
|
|
|
ALTER TABLE `vn`.`calendarType`
|
|
DROP COLUMN `pausa_remunerada`,
|
|
CHANGE COLUMN `calendar_labour_type_id` `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
CHANGE COLUMN `descripcion` `description` varchar(50) DEFAULT NULL,
|
|
CHANGE COLUMN `hours_week` `hoursWeek` smallint(6) DEFAULT NULL ,
|
|
CHANGE COLUMN `isPartial` `isPartial` tinyint(1) NOT NULL DEFAULT 0 ;
|
|
|
|
ALTER TABLE `vn`.`calendarType`
|
|
CHANGE COLUMN `hoursWeek` `hoursWeek` SMALLINT(6) UNSIGNED NULL DEFAULT NULL ; |