2011-02-12 01:40:04 +03:00
|
|
|
CREATE TABLE `frozen_addons` (
|
|
|
|
`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
|
|
|
|
`addon_id` integer NOT NULL
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
|
|
|
|
ALTER TABLE addons
|
|
|
|
ADD COLUMN `hotness` double NOT NULL DEFAULT 0;
|
|
|
|
|
|
|
|
CREATE INDEX hotness_idx on addons (hotness);
|
|
|
|
|
|
|
|
-- See you in a couple hours.
|
2011-02-18 20:39:23 +03:00
|
|
|
-- I'm commenting this out and running it on production separately because I
|
|
|
|
-- don't want it to block our roll out. --clouserw
|
|
|
|
-- CREATE INDEX addon_date_idx ON update_counts (addon_id, date);
|