From 3217af7a5287cd0e4d604ac4854212f0c2d11b16 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Wed, 11 Oct 2017 15:48:19 +0200 Subject: [PATCH] TT#23277 change lnp type from enum to string + anticipate warnings in .down, if string values other than "fixed" or "mobile" are present + .down scripts now dropped, no rollbacks supported. Change-Id: I82f4b6d814892586613da3e670e8e50b50ae54b3 --- db_scripts/diff/15364_not_replicated.up | 5 +++++ db_scripts/diff/15365.up | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 db_scripts/diff/15364_not_replicated.up create mode 100644 db_scripts/diff/15365.up diff --git a/db_scripts/diff/15364_not_replicated.up b/db_scripts/diff/15364_not_replicated.up new file mode 100644 index 00000000..999d4d73 --- /dev/null +++ b/db_scripts/diff/15364_not_replicated.up @@ -0,0 +1,5 @@ +SET sql_log_bin=0; +use accounting; + +alter table cdr change column source_lnp_type source_lnp_type varchar(255) default null, + change column destination_lnp_type destination_lnp_type varchar(255) default null; diff --git a/db_scripts/diff/15365.up b/db_scripts/diff/15365.up new file mode 100644 index 00000000..79b492c6 --- /dev/null +++ b/db_scripts/diff/15365.up @@ -0,0 +1,3 @@ +use billing; + +alter table lnp_numbers change column type type varchar(255) default null;