summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/database
Commit message (Expand)AuthorAgeFilesLines
* Use stub_rails_env for Rails.env stubbing66966-convert-rails-env-stub-usages-to-use-railshelpers-stub_rails_env-insteadAsh McKenzie2019-09-051-17/+3
* Add helper to exactly undo cleanup_concurrent_column_renameReuben Pereira2019-08-251-0/+106
* Drop existing trigger before creating new oneReuben Pereira2019-08-241-0/+8
* Further remove code branches by database typeAndreas Brandl2019-07-291-5/+1
* Merge branch 'frozen_string_spec_lib' into 'master'Stan Hu2019-07-2612-0/+24
|\
| * Add frozen_string_literal to spec/lib (part 1)Thong Kuah2019-07-2612-0/+24
* | Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-253-3/+3
|/
* Enable tablesample count strategy by defaultAndreas Brandl2019-07-244-59/+2
* Remove dead MySQL codeNick Thomas2019-07-232-415/+144
* Improves add_timestamps_with_timezone helperAlex Kalderimis2019-07-181-3/+74
* Support jsonb Default Value in add_column_with_default Migration HelperJason Goodman2019-06-281-0/+18
* Remove import columns from projects tablesh-remove-import-columns-from-projectsStan Hu2019-06-191-2/+2
* Allow custom names for concurrent foreign keysYorick Peterse2019-06-171-0/+27
* Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-051-2/+2
* Fix counting of groups in admin dashboardStan Hu2019-03-112-3/+32
* Fix misspellings in app/spec executable linesTakuya Noguchi2019-02-271-1/+1
* Remove rails 4 support in CI, Gemfiles, bin/ and config/Jasper Maes2018-12-141-6/+1
* Use approximate counts for big tablesJan Provaznik2018-12-061-0/+6
* Move strategies in their own filesAndreas Brandl2018-12-034-124/+147
* Limit some specs to PostgreSQL only.Andreas Brandl2018-12-031-2/+2
* Fix rubocop offenses.Andreas Brandl2018-12-031-4/+4
* Add feature flag for tablesample counting.Andreas Brandl2018-12-031-0/+4
* Implement TablesampleCountStrategy.Andreas Brandl2018-12-031-0/+53
* Finish refactoring specs.Andreas Brandl2018-12-031-56/+15
* Move things to their right scope in specs.Andreas Brandl2018-12-031-44/+45
* More specs for fallback testing.Andreas Brandl2018-12-031-0/+33
* Refactor specs to separate concerns.Andreas Brandl2018-12-031-18/+63
* Flexible approximate counts with fallback strategies.Andreas Brandl2018-12-031-7/+14
* Simplify to use models instead of tables.Andreas Brandl2018-12-031-2/+2
* Add ExactCountStrategy.Andreas Brandl2018-12-031-0/+10
* Extract ReltuplesCountStrategy.Andreas Brandl2018-12-031-1/+1
* Eliminate duplicated wordsTakuya Noguchi2018-11-221-1/+1
* Address specs failing in rails 4Jan Provaznik2018-11-141-1/+6
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-1/+1
* Add Gitlab::Database::Subquery.self_join to delete_all with limitToon Claes2018-09-201-0/+17
* disable_statement_timeout doesn't require any argument anymoreGabriel Mazetto2018-08-111-43/+32
* Fix migration_helpers_specGabriel Mazetto2018-08-101-1/+2
* MigrationHelper `disable_statement_timeout` accepts `transaction: false`Gabriel Mazetto2018-08-101-13/+93
* Updates from `rubocop -a`Lin Jen-Shin2018-07-092-2/+2
* Add a helper to rename a column using a background migrationSean McGivern2018-06-261-0/+55
* Fix fast admin counters not working when PostgreSQL has secondariessh-fix-admin-page-counts-take-2Stan Hu2018-05-251-36/+45
* Fix Error 500 viewing admin page due to statement timeoutsStan Hu2018-05-161-0/+62
* [Rails5] Update `type_cast_*_database` methodsblackst0ne2018-04-061-4/+4
* New migration helper for finding custom indexesBob Van Landuyt2018-03-281-0/+29
* Shortcut concurrent foreign key creation if already exists.ab-43887-concurrent-migration-helpersAndreas Brandl2018-03-201-1/+45
* Shortcut concurrent index creation/removal if no effect.Andreas Brandl2018-03-201-10/+52
* Adapt cycle analytics spec helper and cycle analytics usage data spec41777-include-cycle-time-in-usage-pingTiago Botelho2018-03-011-7/+9
* Refactors median code to work with both single and multiple projectsTiago Botelho2018-02-281-0/+15
* Use hashed storage in the specs40744-hashed-storage-specsNick Thomas2018-02-072-12/+13
* Use the DatabaseCleaner 'deletion' strategy instead of 'truncation'Nick Thomas2018-01-244-4/+4