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

[livejournal] r17618: LJSUP-7052. Some alters for vertical2 ta...

Committer: gprochaev
LJSUP-7052. Some alters for vertical2 table.

U   trunk/bin/upgrading/update-db-general.pl
Modified: trunk/bin/upgrading/update-db-general.pl
===================================================================
--- trunk/bin/upgrading/update-db-general.pl	2010-10-26 11:37:37 UTC (rev 17617)
+++ trunk/bin/upgrading/update-db-general.pl	2010-10-28 03:06:14 UTC (rev 17618)
@@ -4232,6 +4232,14 @@
                  "ADD vert_id INT(11) NOT NULL");
     }
 
+    unless (column_type("vertical2", "show_entries")) {
+        do_alter("vertical2",
+                "ALTER TABLE vertical2 
+                    ADD show_entries INT NOT NULL, 
+                    ADD not_deleted INT NOT NULL, 
+                    ADD remove_after INT NOT NULL");
+    }
+
 });
 
 register_tablecreate("eventrates", <<'EOC'); # clustered

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