wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[ljcom] r11158: LJSUP-10238: LJ SHOP 2011 update: virtua...

Committer: gprochaev
LJSUP-10238: LJ SHOP 2011 update: virtual gifts

U   trunk/bin/upgrading/update-db-local.pl
Modified: trunk/bin/upgrading/update-db-local.pl
===================================================================
--- trunk/bin/upgrading/update-db-local.pl	2011-11-08 08:37:03 UTC (rev 11157)
+++ trunk/bin/upgrading/update-db-local.pl	2011-11-08 11:44:32 UTC (rev 11158)
@@ -2110,6 +2110,11 @@
                  "ALTER TABLE shop_vgifts ADD available_bit INT UNSIGNED NOT NULL DEFAULT 0");
     }
 
+    unless (column_type("shop_vgifts", "author")) {
+        do_alter("shop_vgifts",
+                 "ALTER TABLE shop_vgifts ADD author VARCHAR(15) AFTER vgift_name");
+    }
+
     unless (column_type("user_wallet_history", "logid")) {
         do_alter("user_wallet_history", qq{
             ALTER TABLE user_wallet_history

Tags: gprochaev, ljcom, pl, wisest-owl
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