This repository has been archived on 2023-07-01. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db
David Yip 2ce4af84e9
Put the less-specific column on the left-hand side (#193)
Some database systems can make better use of an index if the index
columns are ordered left-to-right in increasing specificity.  I'm not
sure if Postgres is one of those databases, but it also makes sense to
me to read an index as "ordered by type and then ID".
2018-01-27 01:25:22 -06:00
..
migrate Put the less-specific column on the left-hand side (#193) 2018-01-27 01:25:22 -06:00
schema.rb Put the less-specific column on the left-hand side (#193) 2018-01-27 01:25:22 -06:00
seeds.rb Fix db:seed - only run some validations when the field was changed (#3592) 2017-06-08 09:22:01 -04:00