Committer: gprochaev
LJSUP-6515. Custom Userheads.U trunk/bin/upgrading/update-db-local.pl
Modified: trunk/bin/upgrading/update-db-local.pl =================================================================== --- trunk/bin/upgrading/update-db-local.pl 2010-08-16 07:14:15 UTC (rev 9338) +++ trunk/bin/upgrading/update-db-local.pl 2010-08-16 07:19:51 UTC (rev 9339) @@ -1214,6 +1214,18 @@ ) TYPE=InnoDB EOC +# list of userheads in shop +register_tablecreate("shop_userheads", <<'EOC'); +CREATE TABLE `shop_userheads` ( + `uh_id` int(10) unsigned NOT NULL auto_increment, + `uh_author` varchar(15) default NULL, + `price` float(5,2) default '0.00', + `is_enabled` tinyint(4) default '0', + `img_src` varchar(200) NOT NULL, + PRIMARY KEY (`uh_id`) +) +EOC + # list of vgifts in shop register_tablecreate("shop_vgifts", <<'EOC'); CREATE TABLE `shop_vgifts` (