From 3a2c5e4791a8515676d75ee1d5bc473f77d283a2 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Mon, 29 Feb 2016 13:03:11 +0100 Subject: [PATCH] MT#18255 create index on usr_preferences (attribute, value) Change-Id: Ibb57963f2c130553870fbf43e136655e6f7e94ab --- db_scripts/diff/15220.down | 2 ++ db_scripts/diff/15220.up | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 db_scripts/diff/15220.down create mode 100644 db_scripts/diff/15220.up diff --git a/db_scripts/diff/15220.down b/db_scripts/diff/15220.down new file mode 100644 index 00000000..5655b685 --- /dev/null +++ b/db_scripts/diff/15220.down @@ -0,0 +1,2 @@ +use kamailio; +alter table usr_preferences drop key av_idx; diff --git a/db_scripts/diff/15220.up b/db_scripts/diff/15220.up new file mode 100644 index 00000000..df9fdf2b --- /dev/null +++ b/db_scripts/diff/15220.up @@ -0,0 +1,2 @@ +use kamailio; +alter table usr_preferences add key av_idx(attribute, value);