summaryrefslogtreecommitdiff
path: root/lib/gitlab/database
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'tc-revert-rails5-workaround' into 'master'Andreas Brandl2019-07-251-5/+1
|\
| * Revert "Workaround for Rails 5, where LIMIT..."tc-revert-rails5-workaroundToon Claes2019-07-161-5/+1
* | Enable tablesample count strategy by defaultAndreas Brandl2019-07-244-19/+5
* | Remove dead MySQL codeNick Thomas2019-07-234-180/+33
* | Improves add_timestamps_with_timezone helperAlex Kalderimis2019-07-181-10/+61
|/
* Upgrade to Rails 5.2upgrade-rails-5-2-ceHeinrich Lee Yu2019-07-121-1/+1
* Add a rubocop for Rails.loggerMayra Cabrera2019-07-103-5/+8
* Add where condition to count in median classMałgorzata Ksionek2019-07-041-1/+1
* Support jsonb Default Value in add_column_with_default Migration HelperJason Goodman2019-06-281-1/+2
* Use correct arg namepjaspers2019-06-191-1/+1
* Fix syntax coloring on emacspjaspers2019-06-191-1/+4
* Allow custom names for concurrent foreign keysYorick Peterse2019-06-171-5/+9
* Add remove_foreign_key_if_existsce-11099-removing-the-project-that-holds-the-insights-configuration-raises-an-errorLin Jen-Shin2019-05-071-0/+6
* 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