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

[ljcom] r12973: LJSUP-13388: LJ Shop - Styles

Committer: wisest-owl
LJSUP-13388: LJ Shop - Styles

U   trunk/bin/upgrading/update-db-local.pl
Modified: trunk/bin/upgrading/update-db-local.pl
===================================================================
--- trunk/bin/upgrading/update-db-local.pl	2012-11-30 13:17:22 UTC (rev 12972)
+++ trunk/bin/upgrading/update-db-local.pl	2012-11-30 14:13:36 UTC (rev 12973)
@@ -1237,6 +1237,7 @@
   `paid_discount` int(10) unsigned default NULL,
   `pos` int(10) unsigned default '0',
   `is_disabled` tinyint(1) default '1',
+  `is_fixed` tinyint(1) default NULL,
   `time_create` datetime default NULL,
   `user_create` varchar(15) default NULL,
   `available_for` tinyint(3) unsigned default NULL,
@@ -2645,6 +2646,12 @@
         });
     }
 
+    unless (column_type("shop_themes", "is_fixed")) {
+        do_alter("shop_themes", qq{
+            ALTER TABLE shop_themes ADD is_fixed tinyint(1) AFTER is_disabled;
+        });
+    }
+
 });
 
 1;  # true

Tags: 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