summaryrefslogtreecommitdiff
path: root/lib/gitlab/database.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqRobert Speicher2019-08-291-0/+4
|\
| * Limit the size of issuable description and commentsAlexandru Croitor2019-08-221-0/+4
* | CE port: allow SRV records in DB service discoverydb_load_balancing_service_discovery_srvTiger2019-08-231-1/+2
|/
* Further remove code branches by database typeAndreas Brandl2019-07-291-4/+5
* Remove dead MySQL codeNick Thomas2019-07-231-55/+21
* Merge branch 'js-specs-transactions' into 'master'Andreas Brandl2019-07-121-7/+18
|\
| * Use transactions in JS feature specsjs-specs-transactionsHeinrich Lee Yu2019-07-121-7/+18
* | Upgrade to Rails 5.2upgrade-rails-5-2-ceHeinrich Lee Yu2019-07-121-2/+2
|/
* Add a rubocop for Rails.loggerMayra Cabrera2019-07-101-1/+1
* Fix extra newline left by conflict resolutioncheck-min-schema-migrateDJ Mountney2019-06-281-1/+0
* Merge branch 'master' into 'check-min-schema-migrate'DJ Mountney2019-06-281-0/+34
|\
| * Adds metrics to measure database transactionstransaction-metricsAndrew Newdigate2019-06-281-0/+33
* | Update comments and docs around min schema versionDJ Mountney2019-06-251-1/+1
* | Move min schema version check to db:migrateDJ Mountney2019-06-251-0/+1
* | Check supported version when migratingDJ Mountney2019-06-251-0/+4
|/
* Refactor inside_transaction? to Gitlab::DatabaseAndrew Newdigate2019-06-251-2/+16
* Add helper method to return a human-friendly name for database adapterDouglas Barbosa Alexandre2019-03-211-0/+4
* Rename pg_stat_wal_receiver_supported? DB helperAsh McKenzie2019-03-141-1/+5
* Remove rails4 specific codeJasper Maes2018-12-161-5/+1
* CE port of 'Move EE specific code from Gitbab::Database into ee'Douglas Barbosa Alexandre2018-11-261-5/+6
* Enable frozen string for lib/gitlab/*.rbgfyoung2018-10-221-5/+7
* Ensure the schema is loaded with post_migrations includedDJ Mountney2018-09-111-0/+16
* Backport various EE changes to Gitlab::Databasebackport-gitlab-databaseYorick Peterse2018-07-241-0/+26
* Ability to check if underlying database is read onlyBrett Walker2018-07-061-0/+15
* Use data_source_exists? instead of table_exists?rails5-databaseJarka Kadlecová2018-06-141-2/+5
* Memoize Gitlab::Database.versionmemoize-database-versionYorick Peterse2018-05-171-1/+1
* Cache table_exists?('application_settings') to reduce repeated schema reloadssh-cache-table-existsStan Hu2018-03-151-0/+5
* Cache column_exists? for application settingssh-cache-column-existsStan Hu2018-03-151-0/+4
* Merge branch 'mk-add-old-attachments-to-uploads-table' into 'master'Stan Hu2017-12-071-2/+8
|\
| * Ensure consistent column orderMichael Kozono2017-12-011-1/+1
| * Don’t quote `NOW()` for created_at columnMichael Kozono2017-12-011-2/+8
* | add Gitlab::Database.replication_slots_supported?Brett Walker2017-12-051-0/+4
|/
* Add returning IDs to Gitlab::Database.bulk_insertYorick Peterse2017-11-071-2/+23
* Handle large values on `MergeRequestDiffCommit` dates39561-seed_fu-fails-to-load-gitlab-testAlejandro Rodríguez2017-10-301-0/+8
* Create idea of read-only databasetc-geo-read-only-ideaToon Claes2017-10-061-0/+9
* Improve migrations using triggerscheck-trigger-permissions-mysqlYorick Peterse2017-08-291-0/+8
* Use a specialized class for querying eventsYorick Peterse2017-08-101-0/+4
* Fix Gitlab::Database.bulk_insert for non-UTF-8 data34324-gitlab-db-seed-is-brokenSean McGivern2017-06-261-1/+1
* Add table for files in merge request diffsSean McGivern2017-06-161-0/+16
* removes redundant code from database.rb29056-backport-ee-cleanup-database-fileTiago Botelho2017-04-111-4/+4
* Added Gitlab::Database.configYorick Peterse2017-03-171-1/+5
* removes redundant code from gitlab database filegitlab-database-fixTiago Botelho2017-03-021-3/+3
* Allow setting of a custom connection pool hostYorick Peterse2017-02-221-1/+6
* Merge branch 'create-connection-pool' into 'master' Yorick Peterse2017-02-141-0/+25
|\
| * Only ensure against yield so that pool should be availablecreate-connection-poolLin Jen-Shin2017-02-141-4/+5
| * Have some simple way to create connection poolLin Jen-Shin2017-02-141-0/+24
* | Don't connect in Gitlab::Database.adapter_namefix-ar-connection-leaksYorick Peterse2017-02-131-1/+1
|/
* Improve performance of finding last deployed environmentDouwe Maan2017-02-061-0/+14
* Refresh project authorizations using a Redis leaserefresh-authorizations-with-leaseYorick Peterse2016-11-251-7/+0
* Precalculate user's authorized projects in databaseAhmad Sherif2016-11-181-0/+7