Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[fotobilder] r1452: LJSUP-10498 (Transfer data from old Scra...

Committer: ailyin
LJSUP-10498 (Transfer data from old Scrapbook to new LJ's photoservice (based on Fotki.com)): stop altering the table over and over
U   trunk/bin/upgrading/update-db-general.pl
Modified: trunk/bin/upgrading/update-db-general.pl
===================================================================
--- trunk/bin/upgrading/update-db-general.pl	2011-10-26 12:42:22 UTC (rev 1451)
+++ trunk/bin/upgrading/update-db-general.pl	2011-11-25 09:43:29 UTC (rev 1452)
@@ -1202,7 +1202,7 @@
 
     if (column_type("gallery", "name") !~ /binary/i) {
         do_alter("gallery",
-                 "alter table gallery modify name varchar(255) binary not null");
+                 "alter table gallery modify name varbinary(255) not null");
     }
 
     unless (column_type("useridmap", "usercs")) {

Tags: ailyin, andy, fotobilder, 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