INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
	VALUES ('Entry','getBuyList','READ','ALLOW','ROLE','buyer'),
		('Entry','create','WRITE','ALLOW','ROLE','buyer'),
		('Entry','cloneEntry','WRITE','ALLOW','ROLE','buyer'),
		('Entry','deleteEntry','WRITE','ALLOW','ROLE','buyer'),
		('EntryType','find','READ','ALLOW','ROLE','buyer'),
		('EntryConfig','findOne','READ','ALLOW','ROLE','buyer');

ALTER TABLE vn.ink ADD IF NOT EXISTS hexJson TEXT NOT NULL;

UPDATE vn.ink
	SET hexJson = CONCAT('{"value": ["',hex,'"]}') 
