From 3d67b19cc57ac54a47d3dc2d2a5b2d93c09c3c35 Mon Sep 17 00:00:00 2001
From: Marco Capetta <mcapetta@sipwise.com>
Date: Tue, 1 Oct 2019 16:49:57 +0200
Subject: [PATCH] TT#67851 Add 'max_call_duration' to customer preferences

Change-Id: Ie99f5a97f12961587711590eec411eabe8dd4706
---
 db_scripts/diff/15561.down | 3 +++
 db_scripts/diff/15561.up   | 3 +++
 2 files changed, 6 insertions(+)
 create mode 100644 db_scripts/diff/15561.down
 create mode 100644 db_scripts/diff/15561.up

diff --git a/db_scripts/diff/15561.down b/db_scripts/diff/15561.down
new file mode 100644
index 00000000..fd4c1d59
--- /dev/null
+++ b/db_scripts/diff/15561.down
@@ -0,0 +1,3 @@
+USE provisioning;
+
+update voip_preferences set contract_pref = 0 where attribute = "max_call_duration";
diff --git a/db_scripts/diff/15561.up b/db_scripts/diff/15561.up
new file mode 100644
index 00000000..4ac6e3a6
--- /dev/null
+++ b/db_scripts/diff/15561.up
@@ -0,0 +1,3 @@
+USE provisioning;
+
+update voip_preferences set contract_pref = 1 where attribute = "max_call_duration";