9 lines
308 B
SQL
9 lines
308 B
SQL
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; |