Committer: gprochaev
LJSUP-8840. Minor fixU trunk/bin/upgrading/update-db-general.pl
Modified: trunk/bin/upgrading/update-db-general.pl =================================================================== --- trunk/bin/upgrading/update-db-general.pl 2011-05-18 02:43:50 UTC (rev 19068) +++ trunk/bin/upgrading/update-db-general.pl 2011-05-18 03:10:43 UTC (rev 19069) @@ -4343,7 +4343,7 @@ do_alter("category", "ALTER TABLE category MODIFY parentcatid INT UNSIGNED NOT NULL"); } - if (column_type("category_recent_posts", "pic_orig_url")) { + unless (column_type("category_recent_posts", "pic_orig_url")) { do_alter("category_recent_posts", "ALTER TABLE category_recent_posts ADD pic_orig_url VARCHAR(255) NOT NULL DEFAULT '',