restrictions
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
4cb8d8c763
commit
158a71a326
|
@ -1 +0,0 @@
|
|||
Delete this file
|
|
@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS `vn`.`businessCategory` (
|
|||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|
||||
|
||||
INSERT IGNORE INTO `vn`.`businessCategory` (id, description, rate)
|
||||
INSERT IGNORE INTO `vn`.`businessCategory` (`id`, `description`, `rate`)
|
||||
SELECT codcategoria, descripcion, Tarifa FROM `vn2008`.`payroll_categorias`;
|
||||
|
||||
ALTER TABLE `vn`.`business` DROP FOREIGN KEY IF EXISTS`business_workerBusinessCategoryFk`;
|
||||
|
@ -29,3 +29,8 @@ select
|
|||
`b`.`rate` AS `Tarifa`
|
||||
from
|
||||
`vn`.`businessCategory` `b`;
|
||||
|
||||
|
||||
-- replicate restrictions
|
||||
GRANT SELECT ON TABLE `vn2008`.`payroll_categorias` TO hr;
|
||||
GRANT SELECT ON TABLE `vn`.`businessCategory` TO hr;
|
||||
|
|
Loading…
Reference in New Issue