From faa22b3e8b4eee1bf1e69f6b827c726ce725d9fd Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 27 Aug 2019 16:38:23 +0200 Subject: [PATCH] TT#65101 add billing.admins is_ccare * is_ccare flags a user as customer care one and is used in ngcp-panel to restrict the role only to Customer/Subsceriber related scopes Change-Id: I72ff7d2d3ba6e56306e1a326f26475cee28e8100 --- db_scripts/diff/15556.down | 3 +++ db_scripts/diff/15556.up | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 db_scripts/diff/15556.down create mode 100644 db_scripts/diff/15556.up diff --git a/db_scripts/diff/15556.down b/db_scripts/diff/15556.down new file mode 100644 index 00000000..7f5ccd4b --- /dev/null +++ b/db_scripts/diff/15556.down @@ -0,0 +1,3 @@ +USE billing; + +ALTER TABLE admins DROP COLUMN is_ccare; diff --git a/db_scripts/diff/15556.up b/db_scripts/diff/15556.up new file mode 100644 index 00000000..8d868ae9 --- /dev/null +++ b/db_scripts/diff/15556.up @@ -0,0 +1,4 @@ +USE billing; + +ALTER TABLE admins + ADD COLUMN is_ccare tinyint(1) NOT NULL DEFAULT 0 AFTER is_superuser;