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:
2017-08-21 14:16:43 +02:00
parent eff4190c99
commit 836521e533
11 changed files with 176 additions and 4 deletions
+7 -1
View File
@@ -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" ],