add table userConfig

This commit is contained in:
Bernat 2018-10-04 11:20:17 +02:00
parent c2e1eaa005
commit 313ce8af6e
2 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,8 @@
CREATE TABLE `vn`.`userConfig` (
`userFk` int(10) unsigned NOT NULL,
`warehouseFk` smallint(6) DEFAULT NULL,
`companyFk` smallint(5) unsigned DEFAULT NULL,
`created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`updated` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`userFk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Configuración de usuario en Salix';

View File

@ -1,2 +0,0 @@
INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES (103, 'ClaimEnd', 'importTicketSales', 'WRITE', 'ALLOW', 'ROLE', 'salesAssistant');