summaryrefslogtreecommitdiff
path: root/lib/gitlab/database
Commit message (Expand)AuthorAgeFilesLines
* Clean up `noteable_id` for notes on commits58612-clean-up-notes-dataHeinrich Lee Yu2019-04-061-8/+11
* Run rubocop -aNick Thomas2019-03-132-7/+5
* Seed tablesample strategyAndreas Brandl2019-03-121-0/+1
* Fix counting of groups in admin dashboardStan Hu2019-03-112-2/+26
* Adds the Rubocop ReturnNil copAndrew Newdigate2019-03-061-1/+1
* Remove rails4 specific codeJasper Maes2018-12-166-82/+14
* Backports some changes from gitlab-ee!7885Rubén Dávila2018-12-071-1/+2
* Use approximate counts for big tablesJan Provaznik2018-12-062-1/+3
* Lower the tablesample thresholds/targets.Andreas Brandl2018-12-031-2/+2
* Move strategies in their own filesAndreas Brandl2018-12-034-155/+176
* Fix comment.Andreas Brandl2018-12-031-1/+1
* Refactor estimate queryAndreas Brandl2018-12-031-19/+18
* Fix rubocop offenses.Andreas Brandl2018-12-031-3/+5
* Add feature flag for tablesample counting.Andreas Brandl2018-12-031-0/+4
* Implement TablesampleCountStrategy.Andreas Brandl2018-12-031-20/+108
* More specs for fallback testing.Andreas Brandl2018-12-031-0/+3
* Refactor specs to separate concerns.Andreas Brandl2018-12-031-9/+1
* Flexible approximate counts with fallback strategies.Andreas Brandl2018-12-031-14/+18
* Simplify to use models instead of tables.Andreas Brandl2018-12-031-23/+23
* Add ExactCountStrategy.Andreas Brandl2018-12-031-0/+13
* Extract ReltuplesCountStrategy.Andreas Brandl2018-12-031-20/+37
* Enable even more frozen string in lib/gitlabgfyoung2018-11-0614-0/+28
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-1/+1
* Merge branch 'mysql-migration-trigger-permissions' into 'master'Andreas Brandl2018-10-231-1/+1
|\
| * Add dbname to MySQL migration GRANT commandRyan Hefner2018-09-131-1/+1
* | Merge branch 'dz-migration-index-helper' into 'master'Dmitriy Zaporozhets2018-09-281-0/+4
|\ \
| * | Add mysql_compatible_index_length to migration helpersdz-migration-index-helperDmitriy Zaporozhets2018-09-211-0/+4
* | | Work around a bug in Rails 5, where LIMIT causes troubletc-fix-rails5-subquery-selfjoinToon Claes2018-09-251-1/+9
* | | Add Gitlab::Database::Subquery.self_join to delete_all with limitToon Claes2018-09-201-0/+16
|/ /
* | Added FromUnion to easily select from a UNIONYorick Peterse2018-09-171-3/+3
|/
* disable_statement_timeout doesn't require any argument anymoreGabriel Mazetto2018-08-111-27/+26
* MigrationHelper `disable_statement_timeout` accepts `transaction: false`Gabriel Mazetto2018-08-101-31/+75
* Respond to DB health in background migrationsYorick Peterse2018-08-061-2/+2
* Merge branch 'add-rename-column-background-helper' into 'master'Yorick Peterse2018-06-261-0/+91
|\
| * Add a helper to rename a column using a background migrationSean McGivern2018-06-261-0/+91
* | Rails5 fix arel from in mysql_median_datetime_sqlJasper Maes2018-06-261-1/+7
|/
* [Rails5] Disable inheritance_column for Gitlab::Database::RenameReservedPaths...blackst0ne-rails5-invalid-single-table-inheritance-type-group-is-not-a-subclass-of-namespaceblackst0ne2018-06-161-0/+1
* Rails5 Fix arel fromJasper Maes2018-06-021-2/+7
* Fix fast admin counters not working when PostgreSQL has secondariessh-fix-admin-page-counts-take-2Stan Hu2018-05-251-17/+55
* Fix Error 500 viewing admin page due to statement timeoutsStan Hu2018-05-161-0/+48
* [Rails5] Fix Arel::UpdateManagerblackst0ne2018-04-293-5/+27
* Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg2018-04-252-8/+7
* [Rails5] Update `type_cast_*_database` methodsblackst0ne2018-04-061-11/+40
* Merge branch 'jej/mattermost-notification-confidentiality-10-6' into 'securit...Douwe Maan2018-04-051-1/+1
* New migration helper for finding custom indexesBob Van Landuyt2018-03-281-4/+35
* Merge branch 'mark-legacy-git-access' into 'master'Sean McGivern2018-03-231-1/+1
|\
| * Route path lookups through legacy_disk_pathmark-legacy-git-accessJacob Vosmaer2018-03-211-1/+1
* | Shortcut concurrent foreign key creation if already exists.ab-43887-concurrent-migration-helpersAndreas Brandl2018-03-201-18/+37
* | Shortcut concurrent index creation/removal if no effect.Andreas Brandl2018-03-201-0/+15
* | Fix concurrency issue with migration for user_interacted_projects table.ab-44205-user_interacted_projects-migrationAndreas Brandl2018-03-141-0/+13
|/