summaryrefslogtreecommitdiff
path: root/db/migrate/20151007120511_namespaces_projects_path_lower_indexes.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable RuboCop for migrationsenable-rubocop-for-migrationsSean McGivern2016-06-091-0/+1
| | | | | | | Migrations shouldn't fail RuboCop checks - especially lint checks, such as the nested method check. To avoid changing code in existing migrations, add the magic comment to the top of each of them to skip that file.
* Revamp finding projects by namespacesYorick Peterse2015-10-081-0/+17
By using a JOIN we can remove the need for using 2 separate queries to find a project by its namespace. Combined with an index (only needed for PostgreSQL) this reduces the query time from ~245 ms (~520 ms for the first call) down to roughly 10 ms (~15 ms for the first call).