
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
	VALUES
		('CompanyI18n','find','READ','ALLOW','ROLE','employee'),
		('CompanyI18n','upsert','WRITE','ALLOW','ROLE','employee'),
		('CompanyI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
		('CompanyI18n','create','WRITE','ALLOW','ROLE','employee'),
		('ItemTypeI18n','find','READ','ALLOW','ROLE','employee'),
		('ItemTypeI18n','upsert','WRITE','ALLOW','ROLE','employee'),
		('ItemTypeI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
		('ItemTypeI18n','create','WRITE','ALLOW','ROLE','employee'),
		('InkI18n','find','READ','ALLOW','ROLE','employee'),
		('InkI18n','upsert','WRITE','ALLOW','ROLE','employee'),
		('InkI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
		('InkI18n','create','WRITE','ALLOW','ROLE','employee'),
		('OriginI18n','find','READ','ALLOW','ROLE','employee'),
		('OriginI18n','upsert','WRITE','ALLOW','ROLE','employee'),
		('OriginI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
		('OriginI18n','create','WRITE','ALLOW','ROLE','employee'),
		('StateI18n','find','READ','ALLOW','ROLE','employee'),
		('StateI18n','upsert','WRITE','ALLOW','ROLE','employee'),
		('StateI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
		('StateI18n','create','WRITE','ALLOW','ROLE','employee'),
		('TagI18n','find','READ','ALLOW','ROLE','employee'),
		('TagI18n','upsert','WRITE','ALLOW','ROLE','employee'),
		('TagI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
		('TagI18n','create','WRITE','ALLOW','ROLE','employee'),
		('itemCategoryI18n','find','READ','ALLOW','ROLE','employee'),
		('itemCategoryI18n','upsert','WRITE','ALLOW','ROLE','employee'),
		('itemCategoryI18n','deleteById','WRITE','ALLOW','ROLE','employee'),
		('itemCategoryI18n','create','WRITE','ALLOW','ROLE','employee'),
		('Application','getI18nTables','*','ALLOW','ROLE','employee');

ALTER TABLE vn.companyI18n
	ADD id INT AUTO_INCREMENT UNIQUE;

ALTER TABLE vn.inkI18n
	ADD id INT AUTO_INCREMENT UNIQUE;

ALTER TABLE vn.itemCategoryI18n
	ADD id INT AUTO_INCREMENT UNIQUE;

ALTER TABLE vn.itemTypeI18n
	ADD id INT AUTO_INCREMENT UNIQUE;

ALTER TABLE vn.originI18n
	ADD id INT AUTO_INCREMENT UNIQUE;

ALTER TABLE vn.stateI18n
	ADD id INT AUTO_INCREMENT UNIQUE;

ALTER TABLE vn.tagI18n
	ADD id INT AUTO_INCREMENT UNIQUE;
