2heoh (2heoh) wrote in changelog,
2heoh
2heoh
changelog

[ljcom] r10775: LJSUP-9213: MTS, Message SMS-notificatio...

Committer: slobin
LJSUP-9213: MTS, Message SMS-notifications with text and message answers via SMS

M update-db-local.pl
U   trunk/bin/upgrading/update-db-local.pl
Modified: trunk/bin/upgrading/update-db-local.pl
===================================================================
--- trunk/bin/upgrading/update-db-local.pl	2011-07-22 08:26:38 UTC (rev 10774)
+++ trunk/bin/upgrading/update-db-local.pl	2011-07-25 06:24:40 UTC (rev 10775)
@@ -2144,6 +2144,10 @@
             "ALTER TABLE smsru_phones MODIFY phone VARCHAR(12)");
     }
 
+    unless (index_name("smsru_phones", "INDEX:phone")) {
+        do_alter("smsru_phones", "ALTER TABLE smsru_phones ADD INDEX (phone)");
+    }   
+
     unless (column_type("smsru", "msg_type")) {
         do_alter("smsru",
             "ALTER TABLE smsru ADD msg_type VARCHAR(1) NOT NULL DEFAULT ''");

Tags: 2heoh, ljcom, pl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments