summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Rollback changes made to CreateProjectMirrorData46630-add-missing-columns-to-project-mirror-dataTiago Botelho2018-05-231-11/+7
|
* Renames AddMissingColumnsToProjectMirrorData to ↵Tiago Botelho2018-05-231-1/+1
| | | | EnsureMissingColumnsToProjectMirrorData
* Adds migration to ensure the new project_mirror_data columns are indeed ↵Tiago Botelho2018-05-231-0/+15
| | | | added to the table
* Edits create_project_mirror_data to add the new columns when table already ↵Tiago Botelho2018-05-231-7/+11
| | | | exists
* Resolve "Deprecate Gemnasium project service"Olivier Gonzalez2018-05-231-0/+15
|
* Increase text limit for GPG keys (mysql only).ab-46530-mediumtext-for-gpg-keysAndreas Brandl2018-05-223-1/+18
| | | | Closes #46530.
* Migration to add/drop primary key constraints for composite keys.ab-43706-composite-primary-keysAndreas Brandl2018-05-211-0/+63
| | | | Closes #43706.
* Add NOT NULL constraints to project_authorizations.Andreas Brandl2018-05-212-4/+42
| | | | Closes #32258.
* Fix: Use case in-sensitive ordering by name for groupsHarish Ved2018-05-171-0/+32
|
* Add a unique and not null constraint on the project_features.project_id columnStan Hu2018-05-153-3/+67
| | | | | | | | | | | | | | | | | | | | This commit has two migrations: 1. The first prunes duplicate rows in the project_features table and leaves the row with the highest ID. Since the behavior was indeterministic before and depended on which row the database decided to use, this change at least makes the permissions consistent. For example, in some cases, the Wiki may have been disabled but enabled in another entry. 2. The second adds a non-null constraint on the project_features.project_id column. Closes #37882 Fixes a significant part of gitlab-com/migration#408. We found that we were overcounting Wikis because of these duplicates. On GitLab.com, there are 56 rows with duplicate entries by project_id, and 16,661 rows with NULL project_id values.
* Add index on runner_type for ci_runners46010-add-index-to-runner-typeDylan Griffith2018-05-152-1/+17
| | | | | We use this to filter runner and will use this increasingly in future instead of is_shared so it should be indexed
* Merge branch 'master' into 'fix-project-mirror-data-schema'Douwe Maan2018-05-0990-1139/+410
|\ | | | | | | # Conflicts: # db/schema.rb
| * Merge branch 'fix/gb/add-missing-foreign-key-to-database-schema' into 'master'Kamil Trzciński2018-05-091-0/+1
| |\ | | | | | | | | | | | | Add missing pipeline build foreign key to the schema See merge request gitlab-org/gitlab-ce!18846
| | * Add missing pipeline build foreign key to the schemaGrzegorz Bizon2018-05-091-0/+1
| | |
| * | Merge branch 'fix/gb/add-tmp-index-to-improve-stages-migration-cleanup' into ↵Kamil Trzciński2018-05-091-1/+34
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Add tmp index to ci_builds to optimize stages migration Closes #46179 See merge request gitlab-org/gitlab-ce!18844
| | * | Add tmp index to ci_builds to optimize stages migrationGrzegorz Bizon2018-05-091-1/+34
| | |/
| * | Merge branch '46010-runner-type-not-null' into 'master'Kamil Trzciński2018-05-092-2/+11
| |\ \ | | | | | | | | | | | | | | | | Set `ci_runners.runner_type` not null See merge request gitlab-org/gitlab-ce!18825
| | * | Add DB constraint ci_runners.runner_type not nullDylan Griffith2018-05-092-2/+11
| | |/
| * | Fix `downtime_check` jobblackst0ne2018-05-091-0/+2
| |/ | | | | | | | | | | | | | | | | | | 15fcd9650f6a4a5832e2ed57419b11e30d3f606f (!18547) squashes old migrations to a single one. Old migrations had `rubocop:disable all` rule, but the new migration doesn't have it, so the `downtime_check` fails. This commit explicitly tells that the migration requires downtime.
| * Merge branch 'fix/gb/add-pipeline-builds-foreign-key' into 'master'Kamil Trzciński2018-05-081-0/+27
| |\ | | | | | | | | | | | | | | | | | | Add database foreign key between pipelines and builds Closes #46035 See merge request gitlab-org/gitlab-ce!18822
| | * Reduce scope of orphaned builds to be removedGrzegorz Bizon2018-05-081-1/+1
| | |
| | * Remove orphaned builds without project / pipeline referenceGrzegorz Bizon2018-05-081-2/+5
| | |
| | * Add database foreign key between pipelines and buildsGrzegorz Bizon2018-05-081-0/+24
| | |
| * | Merge branch 'dz-squash-old-migrations' into 'master'Douwe Maan2018-05-0886-1136/+335
| |\ \ | | | | | | | | | | | | | | | | Squash migrations from 2013 See merge request gitlab-org/gitlab-ce!18547
| | * | Squash migrations prior to 2014-03-14Dmitriy Zaporozhets2018-04-2486-1136/+335
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Adds unique constraint to ProjectMirrorData project_id indexTiago Botelho2018-05-082-2/+33
| | | |
* | | | Adds not null constraint to ProjectMirrorData's foreign_key project_idTiago Botelho2018-05-082-2/+23
|/ / /
* | | Add MakeRemoteMirrorsDisabledByDefault DB migrationAsh McKenzie2018-05-082-2/+13
| |/ |/|
* | Merge branch '42099-port-push-mirroring-to-ce-ce-port-v-2' into 'master'Douwe Maan2018-05-075-0/+102
|\ \ | | | | | | | | | | | | | | | | | | CE backport of Backports Push Mirrors to CE Closes #42099 See merge request gitlab-org/gitlab-ce!18715
| * | Adds remote mirror table migrationTiago Botelho2018-05-075-3/+105
| | |
| * | Backports every CE related change from ee-5484 to CETiago Botelho2018-05-071-3/+3
| | |
* | | Cleanup pipeline build stage background migrationGrzegorz Bizon2018-05-071-0/+28
| | |
* | | Merge branch 'live-trace-v2' into 'master'Grzegorz Bizon2018-05-074-0/+49
|\ \ \ | |/ / |/| | | | | | | | | | | | | | New CI Job live-trace architecture (v2) Closes #44935 See merge request gitlab-org/gitlab-ce!18169
| * | Merge branch 'master' into live-trace-v2Shinya Maeda2018-05-0713-1/+275
| |\ \
| * \ \ Merge branch 'master' into live-trace-v2Shinya Maeda2018-05-034-0/+56
| |\ \ \
| * | | | Fix schema versionShinya Maeda2018-04-271-1/+1
| | | | |
| * | | | Refactoring ci_job_trace to ci_build_traceShinya Maeda2018-04-266-40/+40
| | | | |
| * | | | Merge branch 'master' into live-trace-v2Shinya Maeda2018-04-266-18/+155
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into live-trace-v2Shinya Maeda2018-04-242-1/+67
| |\ \ \ \ \
| * | | | | | Chnage raw_data type to binary from textShinya Maeda2018-04-233-3/+3
| | | | | | |
| * | | | | | Merge branch 'master' into live-trace-v2Shinya Maeda2018-04-233-2/+60
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into live-trace-v2Shinya Maeda2018-04-203-1/+27
| |\ \ \ \ \ \ \
| * | | | | | | | Sanitize migration file. Added a comment on ↵Shinya Maeda2018-04-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LimitsCiJobTraceChunksRawDataForMysql
| * | | | | | | | Merge branch 'master' into live-trace-v2Shinya Maeda2018-04-176-13/+79
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Add rake task and timestamped migration file for mysql raw_data MIDIUMTEXTShinya Maeda2018-04-063-1/+21
| | | | | | | | | |
| * | | | | | | | | Use MEDIUMTEXT(16MB) type when Mysql is usedShinya Maeda2018-04-061-1/+3
| | | | | | | | | |
| * | | | | | | | | Merge branch 'master' into live-trace-v2Shinya Maeda2018-04-067-21/+118
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix migration file and schemaShinya Maeda2018-04-052-14/+4
| | | | | | | | | | |
| * | | | | | | | | | Simpler chunking :)Kamil Trzciński2018-04-052-2/+4
| | | | | | | | | | |
| * | | | | | | | | | Add ci_job_trace_chunks tableShinya Maeda2018-04-052-0/+35
| | | | | | | | | | |