Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Add an index for firefox_major_version
Browse files Browse the repository at this point in the history
Add a firefox_channel column for future purposes
  • Loading branch information
ianb committed Sep 5, 2018
1 parent e25a575 commit 3cc65f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/db-patches/patch-24-25.sql
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
ALTER TABLE data ADD COLUMN firefox_major_version INT DEFAULT NULL;
ALTER TABLE data ADD COLUMN firefox_channel TEXT DEFAULT NULL;
CREATE INDEX firefox_major_version_created ON data (firefox_major_version, created);
2 changes: 2 additions & 0 deletions server/db-patches/patch-25-24.sql
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
ALTER TABLE data DROP COLUMN firefox_major_version;
ALTER TABLE data DROP COLUMN firefox_channel;
DROP INDEX firefox_major_version_created;

0 comments on commit 3cc65f0

Please sign in to comment.