Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Append index to schema.sql; #1417
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre authored and Nik Markwell committed Apr 16, 2014
1 parent 7a0a031 commit 67d5b70
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1205,3 +1205,12 @@ BEGIN;
ALTER TABLE homepage_top_givers ADD COLUMN statement text;
ALTER TABLE homepage_top_givers ADD COLUMN number text;
END;


-------------------------------------------------------------------------------
-- https://github.com/gittip/www.gittip.com/issues/1417

CREATE INDEX transfers_tipper_tippee_timestamp_idx
ON transfers
USING btree
(tipper, tippee, timestamp DESC);

0 comments on commit 67d5b70

Please sign in to comment.