madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22814: LJSUP-10503: duplication of delay posts

Committer: sbelyaev
LJSUP-10503: duplication of delay posts
U   trunk/bin/upgrading/update-db-general.pl
Modified: trunk/bin/upgrading/update-db-general.pl
===================================================================
--- trunk/bin/upgrading/update-db-general.pl	2012-09-05 13:32:26 UTC (rev 22813)
+++ trunk/bin/upgrading/update-db-general.pl	2012-09-05 13:40:09 UTC (rev 22814)
@@ -4514,4 +4514,19 @@
 
 });
 
+register_alter(sub {
+
+    my $dbh = shift;
+    my $runsql = shift;
+
+    unless (column_type("delayedlog2", "lastposttry")) {
+        do_alter( "delayedlog2",
+                  "ALTER TABLE delayedlog2 " .
+                  "ADD lastposttry int(10) unsigned DEFAULT NULL" );
+    }
+
+});
+
+
+
 1; # return true

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