From ac1b8b468af9658da5fc8f9b44ffa175e118e6d1 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Mon, 17 Jun 2019 09:14:52 +0200 Subject: [PATCH] sql update dmsType codes --- db/changes/10050-pentecostes/00-dmsType.sql | 4 ---- db/changes/10050-pentecostes/02-dmsType.sql | 24 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 db/changes/10050-pentecostes/00-dmsType.sql create mode 100644 db/changes/10050-pentecostes/02-dmsType.sql diff --git a/db/changes/10050-pentecostes/00-dmsType.sql b/db/changes/10050-pentecostes/00-dmsType.sql deleted file mode 100644 index 1692c6f50..000000000 --- a/db/changes/10050-pentecostes/00-dmsType.sql +++ /dev/null @@ -1,4 +0,0 @@ -UPDATE `vn2008`.`gesttip` SET `writeRoleFk`='1', `readRoleFk`='1' WHERE `id`='5'; -UPDATE `vn2008`.`gesttip` SET `writeRoleFk`='1', `readRoleFk`='1' WHERE `id`='12'; -UPDATE `vn2008`.`gesttip` SET `writeRoleFk`='1', `readRoleFk`='1' WHERE `id`='14'; -UPDATE `vn2008`.`gesttip` SET `writeRoleFk`='1', `readRoleFk`='1' WHERE `id`='13'; diff --git a/db/changes/10050-pentecostes/02-dmsType.sql b/db/changes/10050-pentecostes/02-dmsType.sql new file mode 100644 index 000000000..24d88903f --- /dev/null +++ b/db/changes/10050-pentecostes/02-dmsType.sql @@ -0,0 +1,24 @@ +UPDATE `vn2008`.`gesttip` SET `writeRoleFk`='1', `readRoleFk`='1' WHERE `id`='5'; +UPDATE `vn2008`.`gesttip` SET `writeRoleFk`='1', `readRoleFk`='1' WHERE `id`='12'; +UPDATE `vn2008`.`gesttip` SET `writeRoleFk`='1', `readRoleFk`='1' WHERE `id`='14'; +UPDATE `vn2008`.`gesttip` SET `writeRoleFk`='1', `readRoleFk`='1' WHERE `id`='13'; +UPDATE `vn2008`.`gesttip` SET `code`='invoiceIn' WHERE `id`='1'; +UPDATE `vn2008`.`gesttip` SET `code`='officialDoc' WHERE `id`='2'; +UPDATE `vn2008`.`gesttip` SET `code`='hhrrData' WHERE `id`='3'; +UPDATE `vn2008`.`gesttip` SET `code`='deliveryNote' WHERE `id`='4'; +UPDATE `vn2008`.`gesttip` SET `code`='miscellaneous' WHERE `id`='5'; +UPDATE `vn2008`.`gesttip` SET `code`='tests' WHERE `id`='6'; +UPDATE `vn2008`.`gesttip` SET `code`='economicActivitiesTax' WHERE `id`='7'; +UPDATE `vn2008`.`gesttip` SET `code`='fiscal' WHERE `id`='8'; +UPDATE `vn2008`.`gesttip` SET `code`='vehicles' WHERE `id`='9'; +UPDATE `vn2008`.`gesttip` SET `code`='templates' WHERE `id`='10'; +UPDATE `vn2008`.`gesttip` SET `code`='contracts' WHERE `id`='11'; +UPDATE `vn2008`.`gesttip` SET `code`='paymentsLaw' WHERE `id`='12'; +UPDATE `vn2008`.`gesttip` SET `code`='trash' WHERE `id`='13'; +UPDATE `vn2008`.`gesttip` SET `code`='ticket' WHERE `id`='14'; +UPDATE `vn2008`.`gesttip` SET `code`='budgets' WHERE `id`='15'; +UPDATE `vn2008`.`gesttip` SET `code`='logistics' WHERE `id`='16'; +UPDATE `vn2008`.`gesttip` SET `code`='cmr' WHERE `id`='17'; +UPDATE `vn2008`.`gesttip` SET `code`='dua' WHERE `id`='18'; +UPDATE `vn2008`.`gesttip` SET `code`='fixedAssets' WHERE `id`='19'; +