vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r16317: move alter command to appropriate place

Committer: vsukhanov
move alter command to appropriate place
U   trunk/bin/upgrading/update-db-general.pl
Modified: trunk/bin/upgrading/update-db-general.pl
===================================================================
--- trunk/bin/upgrading/update-db-general.pl	2010-03-03 12:20:44 UTC (rev 16316)
+++ trunk/bin/upgrading/update-db-general.pl	2010-03-04 06:35:38 UTC (rev 16317)
@@ -4166,12 +4166,6 @@
                  "ALTER TABLE antispam ADD INDEX(eventtime)");
     }
 
-    unless (column_type("recbill_cc", "addr") eq 'varchar(120)') {
-        do_alter("recbill_cc",
-                 "ALTER TABLE recbill_cc " .
-                 "CHANGE addr addr varchar(120) NOT NULL");
-    }
-
 });
 
 

Tags: livejournal, pl, vadvs
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