Added ability to store creator, updater, date of create and date of edit on entities- columns for this added to Voucher and CampData.
Removed permission check from Service::loadById- caused access violation when user had not have read permission.
This commit is contained in:
+7
-1
@@ -8,7 +8,7 @@
|
||||
"default" : "",
|
||||
"CZ" : ""
|
||||
},
|
||||
"schemaVersion" : 6,
|
||||
"schemaVersion" : 7,
|
||||
"sql" : [
|
||||
"CREATE TABLE \"VoucherItem\" (
|
||||
\"id\" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
@@ -76,6 +76,12 @@ CREATE TABLE \"Voucher\" (
|
||||
|
||||
"ALTER TABLE \"Voucher\" ADD \"season\" INTEGER NULL;
|
||||
UPDATE \"Voucher\" SET season = (SELECT id FROM \"Season\" WHERE active = 1);
|
||||
",
|
||||
|
||||
"ALTER TABLE Voucher ADD \"createdBy\" TEXT NULL;
|
||||
ALTER TABLE Voucher ADD \"created\" TEXT NULL;
|
||||
ALTER TABLE Voucher ADD \"updatedBy\" TEXT NULL;
|
||||
ALTER TABLE Voucher ADD \"updated\" TEXT NULL;
|
||||
"
|
||||
],
|
||||
"dependencies" : [ "ADDRESSBOOK" ],
|
||||
|
||||
Reference in New Issue
Block a user