From a0cc7646582b4b009f281fe31c169c2c8a5a8e77 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Fri, 17 May 2013 19:19:50 +0200 Subject: [PATCH] add forgotten db up files for cloud_pbx preference --- db_scripts/diff/12953.down | 1 + db_scripts/diff/12953.up | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 db_scripts/diff/12953.down create mode 100644 db_scripts/diff/12953.up diff --git a/db_scripts/diff/12953.down b/db_scripts/diff/12953.down new file mode 100644 index 00000000..37a9d3be --- /dev/null +++ b/db_scripts/diff/12953.down @@ -0,0 +1 @@ +DELETE FROM provisioning.voip_preferences where attribute='cloud_pbx'; diff --git a/db_scripts/diff/12953.up b/db_scripts/diff/12953.up new file mode 100644 index 00000000..21534a2f --- /dev/null +++ b/db_scripts/diff/12953.up @@ -0,0 +1,7 @@ +use provisioning + +select id into @pid from voip_preference_groups where name = 'Internals'; + +INSERT INTO voip_preferences (attribute, type, dom_pref, usr_pref, peer_pref, data_type, + max_occur, description, modify_timestamp, voip_preference_groups_id) VALUES('cloud_pbx', 1, 1, 1, 0, + 'boolean', 1, 'Send the calls from/to the subscribers through the cloud pbx module.', '1970-01-01 00:00:00', @pid);