From 281ae0eb0477e8c55a84f58024e4fa038b47bdc7 Mon Sep 17 00:00:00 2001 From: sergiodt Date: Fri, 1 Sep 2023 07:21:15 +0200 Subject: [PATCH] refs #4815 feat:DeviceLogModel --- db/changes/233401/01-deviceLog_acl.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/changes/233401/01-deviceLog_acl.sql b/db/changes/233401/01-deviceLog_acl.sql index dd8bc936b..7b7becf58 100644 --- a/db/changes/233401/01-deviceLog_acl.sql +++ b/db/changes/233401/01-deviceLog_acl.sql @@ -1,6 +1,6 @@ -ALTER TABLE vn.deviceLog ADD serialNumber varchar(45) DEFAULT NULL NULL; +ALTER TABLE `vn`.`deviceLog`ADD serialNumber varchar(45) DEFAULT NULL NULL; INSERT INTO `salix`.`ACL` ( model, property, accessType, permission, principalType, principalId) -VALUES( 'DeviceLog', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee'); +VALUES( 'DeviceLog', 'create', 'WRITE', 'ALLOW', 'ROLE', 'employee');