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

[ljcom] r12022: LJSUP-12365: Implement 'trusted' flag fo...

Committer: nnikulochkina
LJSUP-12365: Implement 'trusted' flag for external applications
U   trunk/bin/upgrading/update-db-local.pl
Modified: trunk/bin/upgrading/update-db-local.pl
===================================================================
--- trunk/bin/upgrading/update-db-local.pl	2012-05-28 14:40:39 UTC (rev 12021)
+++ trunk/bin/upgrading/update-db-local.pl	2012-05-29 10:11:22 UTC (rev 12022)
@@ -2455,6 +2455,13 @@
                  "ALTER TABLE twitter_digest_status ADD last_tweet_id BIGINT UNSIGNED NOT NULL DEFAULT 0");
     }
 
+    unless (column_type("userapps", "trusted")) {
+        do_alter("userapps", qq{
+            ALTER TABLE userapps
+                ADD COLUMN trusted TINYINT(1) DEFAULT '0';
+        });
+    }
+
 });
 
 1;  # true

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