9 lines
308 B
MySQL
9 lines
308 B
MySQL
|
INSERT INTO vn.businessType (code,description)
|
||
|
VALUES ('worker','Trabajador');
|
||
|
|
||
|
ALTER TABLE `vn`.`workerConfig` ADD businessTypeFk varchar(100) NULL
|
||
|
COMMENT 'Tipo de negocio por defecto al dar de alta un trabajador nuevo';
|
||
|
|
||
|
UPDATE `vn`.`workerConfig`
|
||
|
SET businessTypeFk = 'worker'
|
||
|
WHERE id = 1;
|