addons-server/migrations
Kumar McMillan 2a48fdbb34 Splits platforms by desktop/mobile for better mobile support (bug 631961) 2011-03-29 18:46:24 -05:00
..
01-category-slugs.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
02-addonsusers-ids.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
03-groups_users-ids.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
04-addons_categories-ids.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
05-applications-versions-id.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
06-last-update.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
08-null-nominationdate.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
09-hide-search-categories.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
10-fix-collection-count.sql Adding new migration for bug 543899 2010-02-25 13:44:51 -08:00
11-collection-users-id.sql collection icon_url and users field 2010-03-02 14:46:15 -08:00
12-add-most-shared-src.sql Add most shared src; bug 547765 2010-03-03 15:01:05 -08:00
13-addon-dates.sql Fix empty dates. 2010-03-04 15:05:27 -08:00
14-null-suggested-amount.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
15-users_tags_addons-ids.sql normalize migration numbers 2010-03-05 11:06:15 -08:00
16-pk.sql migration 16 contained a dupe of migration 15. 2010-03-10 10:18:55 +01:00
17-thankyou-notes.sql migration for contribution thankyou notes, bug 543638 2010-03-16 22:13:43 -07:00
18-old-datestatuschanged.sql use created instead of modified for last_updated (bug 550948) 2010-03-30 13:54:00 -07:00
19-personas-fields.sql adding new fields to Personas 2010-04-01 15:30:36 -07:00
20-licenses.sql added migration for new licenses (bug 556633) 2010-04-06 08:27:38 +02:00
21-null-counts.sql make sure these fields are never null 2010-04-07 10:57:32 -07:00
22-personas-index.sql index on personas.persona_id 2010-04-14 11:39:42 -07:00
23-jetpack-flag.sql Add jetpack flag; bug 59188 2010-04-20 08:31:31 -07:00
24-ryf-blog.sql Add ryf cron job; bug 560753 2010-04-22 16:34:32 -07:00
25-subscription-events.sql save subscription events from paypal (bug 560893) 2010-04-22 16:42:19 -07:00
26-appsupport.sql track appsupport through celery 2010-04-27 15:48:43 -07:00
27-null-collections-password.sql add a uuid automatically, remove unused fields 2010-05-04 09:58:43 -07:00
28-addon-collection-ordering.sql add an ordering column to addons_collections 2010-05-04 09:58:43 -07:00
29-collection-recs.sql add recommended_collection and addon_index fields 2010-05-04 09:58:43 -07:00
30-collection-token.sql collection tokens anonymously link a collection to a user 2010-05-04 09:58:43 -07:00
31-discovery-modules.sql discovery pane feature management 2010-05-04 22:58:08 -07:00
32-auth-user-lengths.sql embiggen the auth_user fields (bug 564364) 2010-05-07 14:34:39 -07:00
33-collection_star.sql bug 562667, Adding ids to a few collection_ models 2010-05-11 16:25:29 -07:00
34-fx-download-sources.sql Add download sources; bug 565399 2010-05-12 19:26:17 -07:00
35-trim-addon-whitespace.sql Trim existing whitespace. 2010-05-20 09:33:45 -07:00
36-creatured-download-source.sql adding creatured download source (bug 560576) 2010-05-24 11:34:04 -07:00
37-addons-current-version.sql add current_version field to addons table 2010-05-24 12:41:14 -07:00
38-validator-theme-security.sql Adding theme validation migration; bug 539064 2010-05-24 20:33:56 -07:00
39-firefoxcup.sql FxCup: average fans. other minor fixes (e.g. css) 2010-05-27 19:10:40 -07:00
40-personas-indexes.sql Make personas pages faster by adding indexes 2010-06-01 10:35:14 -07:00
41-addons-indexes.sql indexes for popular sorts and lookups 2010-06-09 11:42:05 -07:00
42-addons-categories-index.sql better index for addons_categories 2010-06-10 12:46:11 -07:00
43-collections-subscribers-idx.sql index on collections.subscribers 2010-06-10 12:46:11 -07:00
44-personas-index.sql hit an index for personas by this author 2010-06-15 12:17:52 -07:00
45-total-contributions.sql bug 569742, move stats tasks to tasks.py 2010-06-22 12:44:51 -07:00
46-reviews-addonid.sql make reviews.version optional, attach an addon id 2010-06-23 14:59:38 -07:00
47-reviews-cheat.sql denormalize reviews.is_latest and reviews.prev_count for easy queries 2010-06-23 15:02:37 -07:00
48-download-count-index.sql (addon_id, date) index for download_counts 2010-06-24 11:48:23 -07:00
49-drop-firefoxcup.sql bug 578087, kill fxcup 2010-07-15 11:45:56 -07:00
50-collections-author.sql bug 574278, Migrate collection permissions. 2010-07-20 09:58:15 -07:00
51-addoncategory-feature-idx.sql pull all the creatured ids to avoid repeated calls 2010-07-20 16:26:03 -07:00
52-collections-slug.sql slugs for collections (bug 574270) 2010-07-21 16:50:08 -07:00
53-collections-addon-idx.sql forgot a semicolon in my sql 2010-07-22 09:04:46 -07:00
54-drop-collection-vote-trigger.sql collection votes (bug 574286) 2010-07-22 16:37:06 -07:00
55-users_blacklistednickname.sql Bug 574276: Implemented the nickname blacklist. 2010-07-26 14:03:44 -07:00
56-collections-personas.sql task for updating collection metadata 2010-07-28 17:26:53 -07:00
57-collections-slug.sql enable other collections by author (bug 574291) 2010-07-28 17:26:53 -07:00
58-reviews-null.sql allow posting reviews and replies (bug 557879) 2010-07-28 17:51:04 -07:00
59-files-idx.sql make the fast_current_version query way faster (bug 583122) 2010-07-29 18:43:12 -07:00
60-download-sources.sql download sources for the versions page (bug 572848) 2010-08-02 13:41:41 -07:00
61-update-reviews.sql Add update reviews migration 2010-08-05 13:38:17 -07:00
62-collections-idx.sql collections directory (bug 574292) 2010-08-06 14:36:29 -07:00
63-unique-author-slug.sql reserve the slugs "favorites" and "mobile" (bug 586426) 2010-08-12 16:22:59 -07:00
64-user-id-index.sql Increase delete_users throughput again, this time with an index 2010-08-16 14:04:40 -07:00
65-del-collection-cat.sql I don't want to know why collections_categories exists 2010-08-16 21:48:57 -07:00
66-nickname-vs-username.sql Migrate to use new user fields 2010-08-18 09:02:43 -07:00
67-del-collection-recommendations.sql drop collection recommendation data (bug 590019) 2010-08-24 09:47:03 -07:00
68-collections-share.sql sharing for collections (bug 586444) 2010-08-25 07:53:18 -07:00
69-add-jetpack-index.sql Add jetpack filter; bug 580827 2010-08-25 15:02:45 -07:00
70-collections-created.sql move addons_collections.added to created (bug 589922) 2010-08-25 17:26:20 -07:00
71-following-idx.sql collections I'm following page (bug 574288) 2010-09-01 16:01:18 -07:00
72-user-login-logging.sql whoops, had another migration in between this commit 2010-09-01 21:38:16 -07:00
73-usernames-not-null.sql Don't let usernames be null 2010-09-02 19:41:29 -07:00
74-collection-triggers.sql drop triggers we now calculate with tasks 2010-09-02 23:24:50 -07:00
75-piston.sql devhub uploads (bug 586696 & 586700) 2010-09-23 17:08:04 -07:00
76-blacklisted-email-domain.sql Bug 584490: restricting user email domains with blacklist. 2010-09-10 23:46:24 -07:00
77-discopane-src.sql discovery pane download src (bug 595996) 2010-09-14 14:23:51 -07:00
78-null-created.sql use UserProfile for doing pwreset (bug 596263) 2010-09-22 16:42:18 -07:00
79-file-uploads.sql devhub uploads (bug 586696 & 586700) 2010-09-23 17:08:04 -07:00
80-collection-triggers.sql update collection followers in a task 2010-09-24 15:59:35 -07:00
81-fix-addon-statuses.sql Fixed pending addons; bug 512128 2010-09-30 09:43:10 -07:00
82-remove-toolbar-category.sql Remove toolbar category; bug 592168 2010-09-30 09:59:25 -07:00
83-give-addons-a-slug.sql add addon slugs 2010-10-01 08:54:13 -07:00
84-new-licenses.sql moving to a new license schema for zamboni (bug 592548) 2010-10-06 19:05:30 -07:00
85-add-perf-tables.sql Performance Schema; bug 599129 2010-10-06 23:15:00 -07:00
87-add-dependencies-table.sql rename add-on dependencies migration 2010-10-08 19:55:02 -04:00
88-charities.sql getting closer 2010-10-12 10:56:42 -07:00
89-guidcomment.sql bug 543427, adds comments to GUID blacklist 2010-10-12 15:37:06 -07:00
90-logaddons.sql Adds drop table if-exists statements, fixes column types to get foreign keys working 2010-10-28 14:18:25 -05:00
91-adjust-perf-tables.sql adjust perf tables to match new ideas after our meeting 2010-10-28 11:09:49 -07:00
92-review-queues.sql bug 607726, explains to the developer what review queue her add-on was submitted to 2010-10-29 16:55:07 -05:00
93-average-is-a-float.sql Average is now a float in the db. 2010-11-01 10:57:36 -07:00
94-limit-tags.sql limiting tags down to 20 and removing developer, user distinction (bug 600685) 2010-11-05 13:50:13 -07:00
95-index-activity.sql bug 595886, Activity Feed page 2010-11-08 12:09:20 -08:00
96-submit-step.sql track the submission step (bug 610546) 2010-11-16 20:05:32 -08:00
97-perf-results-idx.sql performance wall of shame (bug 600430) 2010-11-19 08:43:35 -08:00
99-fix-perf-tables.sql move some stuffs around 2010-12-16 10:17:59 -08:00
100-purgatory-exists.sql Create purgatory. Buttons are free! Bug 614686 2010-12-02 12:56:43 -08:00
101-perf-created-idx.sql cron + task for updating addon slowness (bug 615391) 2010-12-03 17:18:01 -08:00
102-adjust-perf-tables.sql add unique to perf table 2010-12-06 11:08:20 -08:00
103-cascade.sql Make migrations work on production. 2011-01-12 14:51:37 -08:00
104-collections-cascade.sql bug 617963, Better cascading of collections table. 2010-12-09 17:09:39 -08:00
105-fileupload-valid.sql add a .valid attribute to FileUpload 2010-12-10 17:06:38 -08:00
106-add-mozcom-prefix.sql move some stuffs around 2010-12-16 10:17:59 -08:00
108-log-cascade.sql ActivityLog deletions should cascade from user. 2010-12-13 14:44:12 -08:00
111-log_activity-cascade.sql log_activity_addon deletions should cascade from log_activity. 2010-12-14 09:46:24 -08:00
112-log_activity-cascade.sql Make migrations work on production. 2011-01-12 14:51:37 -08:00
113-file-validation.sql add FileValidation to remember validation results (bug 618997) 2010-12-14 12:40:28 -08:00
115-discopane-download-source.sql add discovery-pane-eula to download sources (bug 615406) 2010-12-15 19:25:57 -05:00
116-flag-restartless-addons.sql Add a semi-colon to fix syntax error 2010-12-22 17:57:12 -08:00
117-switch-pending-files.sql disable all the unreviewed files on public add-ons 2010-12-28 16:36:39 -05:00
118-file-validation-1to1.sql Links file validation to version listing (bug 619094) 2010-12-29 18:43:41 -06:00
119-moz-charity-url.sql updating the foundation donate url 2011-01-03 12:59:07 -08:00
120-charity-stats.sql record org ids in contribution stats (bug 624446) 2011-01-10 13:41:44 -07:00
121-misc-addon-cats.sql submission step 3, categories for multiple apps (bug 620422, bug 618238) 2011-01-11 18:40:12 -05:00
122-blank-version.sql removing bad data (bug 625300) 2011-01-13 08:58:21 -08:00
123-die-listed.sql set a message when listed add-ons get disabled 2011-01-13 18:38:24 -08:00
124-sad-slugs.sql dump sad slugs 2011-01-13 19:58:15 -08:00
125-truncate-facebook.sql Truncate facebook tables; bug 625975 2011-01-17 15:36:23 -08:00
126-moz-charity-url.sql make up your mind (bug 626704) 2011-01-18 11:40:56 -08:00
127-restartless-again.sql fixing no_restart detection (bug 621736) 2011-01-19 16:40:19 -08:00
128-add-position-to-preview.sql Conflicting migrations. 2011-01-19 17:14:56 -08:00
129-view-editor-queue.sql Initial data/grid table for pending editor queue (bug 622172) 2011-01-20 14:13:41 -06:00
130-activitylog-data.sql bug 622202, event log and log detail page 2011-01-25 21:28:06 -08:00
131-drop-old-editor-view.sql Added Full Review queue to editor pages (bug 627502) 2011-01-27 16:49:36 -06:00
132-view_ed_pending_q.sql Added Full Review queue to editor pages (bug 627502) 2011-01-27 16:49:36 -06:00
133-view_ed_full_review_q.sql Added Full Review queue to editor pages (bug 627502) 2011-01-27 16:49:36 -06:00
134-view_ed_pending_q.sql Fixes editor queues so they include search extensions 2011-01-27 22:03:33 -06:00
135-view_ed_full_review_q.sql Fixes editor queues so they include search extensions 2011-01-27 22:03:33 -06:00
136-view_ed_full_review_q.sql Shows any type of nominated file, like remora (bug 627502) 2011-01-28 16:03:28 -06:00
137-view_ed_prelim_q.sql Adds preliminary review queue for editors (bug 627512) 2011-01-28 16:31:58 -06:00
138-add-graphics-blocklist.sql Add graphics blocklist sql, bug 628793 2011-02-01 08:33:53 -08:00
139-add-mobile-platforms.sql Shows mobile platform choices when submitting a mobile add-on (bug 624226) 2011-02-01 14:02:07 -06:00
140-add-blacklistedslugs.sql add blacklist slug table, catch attempts in form and model validation (bug 625842) 2011-02-02 13:23:31 -08:00
141-appversions-idx.sql we sort on appversions.version_int, index it 2011-02-07 14:59:38 -08:00
142-add-restricted-tags.sql add in a restricted column and limit the tags in the form (bug 614710) 2011-02-09 13:02:56 -08:00
143-discopane-src-prefix.sql disco pane download sources (bug 631668) 2011-02-10 19:41:59 -05:00
144-add-restricted-tags-data.sql seperate error messages and add some tags in (bug 614710) 2011-02-11 16:43:26 -08:00
145-drop_ed_queue_views.sql Converts view-based editor queues to raw SQL (bug 633319, 622171) 2011-02-11 18:57:07 -06:00
146-approvals-cascade.sql Add cascade to approvals for addon_id 2011-02-14 10:23:56 -08:00
147-add-paykey.sql fix migration number (bug 627077) 2011-02-15 11:39:52 -08:00
148-hotness.sql comment out long running sql. will run separately 2011-02-18 09:39:23 -08:00
149-personas-versions.sql give personas a Version to simplify queries 2011-02-17 09:07:12 -08:00
150-visible-idx.sql give personas a Version to simplify queries 2011-02-17 09:07:12 -08:00
151-add-version-int.sql add in version_int onto the version table (bug 611551) 2011-02-23 11:27:54 -08:00
152-empty-purgatory.sql Add empty purgatory migration; bug 636005 2011-02-23 13:00:50 -08:00
153-approvals-cascade.sql adding a semicolon 2011-02-25 11:30:50 -08:00
154-approvals-cascade-for-files.sql bug 636834, let add-ons delete gracefully 2011-02-28 16:50:15 -08:00
155-drop-triggers.sql Comment out this migration, will need to run manually in prod 2011-03-07 14:38:35 -08:00
156-strip-whitespace.sql bug 637953, trim with precision 2011-03-02 11:06:07 -08:00
157-add-reviewed-timestamp.sql set reviewed timestamp on file or version (bug 636588) 2011-03-02 16:38:41 -08:00
158-add-backup-button.sql fix migration (bug 611534) 2011-03-03 17:31:46 -08:00
159-bad-locales.sql bug 622774, ugly locales 2011-03-07 16:35:01 -08:00
160-clear-addonindex.sql clear out addon_index to force new recommendations (bug 638629) 2011-03-08 18:28:12 -08:00
161-clear-recs.sql fix up the foreign key cascade 2011-03-09 16:27:31 -08:00
162-appsupport-versions.sql record the min/max appversion in appsupport 2011-03-10 11:18:20 -08:00
163-add-nomination-date.sql add in nomination date (bug 638843) 2011-03-10 15:14:50 -05:00
164-disable-old-unreviewed-versions.sql SQL that disables old unreviewed files to fix editor queue (bug 638307) 2011-03-15 17:07:18 -05:00
165-synced-collections.sql use separate tables for remembering synced collections 2011-03-17 13:22:53 -07:00
166-drop-addon-nomination_date.sql Replaces all traces of addon nomination date with version nom. date (bug 638855) 2011-03-18 13:39:16 -05:00
167-group-canned-responses.sql Canned responses should be grouped and sorted (Bug 626489) 2011-03-21 17:19:19 -07:00
168-addons-pledges.sql bug 624447, truncate addons_pledges 2011-03-22 11:57:26 -07:00
170-remove-synced-collections.sql manually delete fks that aren't cascading (bug 645897) 2011-03-29 15:17:43 -07:00
171-perf-results-idx.sql fixing ts_slowness calculations (bug 641660) 2011-03-28 18:48:25 -07:00
172-blocklist-deets.sql adding a table for blocklist details 2011-03-29 14:05:05 -07:00
173-add-mobile-all-platform.sql Splits platforms by desktop/mobile for better mobile support (bug 631961) 2011-03-29 18:46:24 -05:00
schematic_settings.py Make the settings work when there's no port, and fix up the path manipulation 2010-03-09 10:06:26 -08:00