Committer: vsukhanov
LJSUP-9126: Friends times. Hiding users, filtersU trunk/bin/upgrading/update-db-local.pl
Modified: trunk/bin/upgrading/update-db-local.pl =================================================================== --- trunk/bin/upgrading/update-db-local.pl 2011-08-10 04:29:40 UTC (rev 10827) +++ trunk/bin/upgrading/update-db-local.pl 2011-08-10 04:36:46 UTC (rev 10828) @@ -2191,6 +2191,11 @@ "ALTER TABLE friendstimes MODIFY added int not null"); } + unless (column_type("friendstimes", "groupmask")) { + do_alter("friendstimes", + "ALTER TABLE friendstimes ADD column groupmask INT(10) UNSIGNED NOT NULL DEFAULT 1 after jitemid"); + } + }); 1; # true