журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22507: LJSUP-13108: Paid repost button

Committer: nnikulochkina
LJSUP-13108: Paid repost button
U   trunk/bin/upgrading/update-db-general.pl
Modified: trunk/bin/upgrading/update-db-general.pl
===================================================================
--- trunk/bin/upgrading/update-db-general.pl	2012-07-26 13:23:05 UTC (rev 22506)
+++ trunk/bin/upgrading/update-db-general.pl	2012-07-26 13:53:38 UTC (rev 22507)
@@ -4432,6 +4432,11 @@
         do_alter("domains", "ALTER TABLE domains ADD UNIQUE (domain)");
     }
 
+    unless (column_type("repost2", "cost")) {
+        do_alter("repost2", "ALTER TABLE repost2 ADD COLUMN cost int(11) NOT NULL DEFAULT '0'");
+        do_alter("repost2", "ALTER TABLE repost2 ADD COLUMN blid int(11) NOT NULL DEFAULT '0'");
+    }
+    
 });
 
 register_alter(sub {

Tags: livejournal, nikulochkina, nnikulochkina, 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