summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Fix routes index migrationSean McGivern2017-03-211-2/+2
| | | | | | | For example: index_exists?(:routes, name: INDEX_NAME) # => false index_exists?(:routes, :path, name: INDEX_NAME) # => true
* Add LIKE index for routes.pathYorick Peterse2017-03-212-4/+34
| | | | | | | | Nested groups support uses queries along the lines of `path LIKE 'X/%'`. For these queries to use an index on PostgreSQL we need to use either the varchar_pattern_ops or text_pattern_ops operator class. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/29554
* Merge branch 'dz-improve-rename-projects-migration' into 'master' Yorick Peterse2017-03-211-30/+1
|\ | | | | | | | | | | | | Improve rename projects migration Closes #29556 See merge request !10009
| * Improve rename projects migrationDmitriy Zaporozhets2017-03-201-30/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'perf/add-index-to-user-ghost' into 'master' Douwe Maan2017-03-212-3/+28
|\ \ | | | | | | | | | | | | add an index to the ghost column See merge request !9910
| * | add an index to the ghost columnhttp://jneen.net/2017-03-202-3/+28
| | |
* | | Merge branch '29671-remove-useless-options' into 'master' Douwe Maan2017-03-211-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Remove useless options from db/fixtures/development/17_cycle_analytics.rb Closes #29671 See merge request !10086
| * | Remove useless options from db/fixtures/development/17_cycle_analytics.rbRémy Coutable2017-03-201-1/+1
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch 'issue_27212' into 'master' Sean McGivern2017-03-202-1/+9
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Add closed_at field to issues Closes #27212 See merge request !9977
| * | Add closed_at field to issuesFelipe Artur2017-03-172-1/+9
| | |
* | | All CI offline migrationsKamil Trzciński2017-03-178-102/+272
|/ /
* | Add ability to disable Merge Request URL on pushAlex Sanford2017-03-172-0/+19
|/
* Fix statements timeout in manual actions migrationfix/gb/fix-timeouts-in-manual-actions-migrationGrzegorz Bizon2017-03-161-0/+4
|
* Revert the AddNotifiedOfOwnActivityToUsers migrationrs-revert-notified-of-own-activity-migrationRobert Speicher2017-03-152-1/+25
|
* Revert "Merge branch 'option-to-be-notified-of-own-activity' into 'master'Stan Hu2017-03-152-15/+0
| | | | | This reverts commit 5e9666880376b3f53edb95cba77b5642d3cc1810, reversing changes made to b35378a938e22f745b6c6ea32b53cb50f9b6c627.
* Merge branch 'test-db-rollback' into 'master' Kamil Trzciński2017-03-1510-9/+20
|\ | | | | | | | | | | | | Add a test which would rollback db and migrate again Closes #29106 See merge request !9908
| * Use `remove_foreign_key :timelogs, name: '...'`Lin Jen-Shin2017-03-141-9/+2
| | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9908#note_25324225
| * Drop the index only for postgresql, becauseLin Jen-Shin2017-03-141-1/+2
| | | | | | | | | | | | mysql cannot simply drop the index without dropping the corresponding foreign key, and we certainly don't want to drop the foreign key here.
| * Disable rubocop for down methodLin Jen-Shin2017-03-141-0/+1
| |
| * Fix for postgresqlLin Jen-Shin2017-03-144-4/+12
| |
| * Add a test which would rollback db and migrate againLin Jen-Shin2017-03-148-7/+19
| | | | | | | | Closes #29106
* | Fixing two migrations that could not be rolled backfix-migration-rc1-rollbackDJ Mountney2017-03-142-2/+6
| | | | | | | | when rolling back from 9-0-stable to 8.17.3
* | [Issue Sorting] Improve migrationValery Sizov2017-03-141-4/+3
| |
* | Added migration to reset existing relative_position for issuesValery Sizov2017-03-141-0/+18
| |
* | Merge branch 'dz-blacklist--names' into 'master' Douwe Maan2017-03-132-1/+102
|\ \ | | | | | | | | | | | | | | | | | | Blacklist nested groups and project names that can cause ambiguous routing for HA Closes #29324 See merge request !9898
| * | Reserve few project and nested group pathsDmitriy Zaporozhets2017-03-132-1/+102
| |/ | | | | | | | | | | | | That have wildcard routes associated and not reserved yet: artifacts, graphs, badges and refs Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Trigger refreshing of permissions in a migrationrefresh-permissions-recent-usersYorick Peterse2017-03-131-0/+19
|/ | | | | | This migration resets `users.authorized_projects_populated` (in batches) so that active users' permissions are refreshed on the next request. This ensures that their permissions are properly stored.
* Merge branch 'master' into orderable-issuesDouwe Maan2017-03-0728-30/+224
|\
| * Merge branch 'dm-add-concurrent-index-cop' into 'master' Yorick Peterse2017-03-0719-22/+116
| |\ | | | | | | | | | | | | Add cop to ensure reversibility of add_concurrent_index See merge request !9771
| | * Add downtime constantsdm-add-concurrent-index-copDouwe Maan2017-03-073-0/+6
| | |
| | * Add cop to ensure reversibility of add_concurrent_indexDouwe Maan2017-03-0719-22/+110
| | |
| * | Merge branch 'zj-variables-build-job' into 'master' Kamil Trzciński2017-03-071-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Rename BUILD to JOB in CI Variables Closes #29053 See merge request !9756
| | * | Rename BUILD to JOB in CI Variableszj-variables-build-jobZ.J. van de Weg2017-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given GitLab moves away from using the term build, everywhere, also the CI variables are being renamed. For now, both `CI_BUILD_X` and `CI_JOB_X` are supported, with the same values. However, in about 3 months, support will be dropped.
| * | | Merge branch '28447-hybrid-repository-storages' into 'master' Sean McGivern2017-03-074-5/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Update storage settings to allow extra values per shard See merge request !9597
| | * | | Update storage settings to allow extra values per shard28447-hybrid-repository-storagesAlejandro Rodríguez2017-03-034-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be necessary when adding gitaly settings. This version doesn't make any functional changes, but allows us to include this breaking change in 9.0 and add the needed extra settings in the future with backwards compatibility
| * | | | Merge branch 'siemens/gitlab-ce-feature/openid-connect'Sean McGivern2017-03-073-0/+63
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | Implement OpenID Connect identity providerMarkus Koller2017-03-073-0/+63
| | | |/ | | |/|
| * | | Merge remote-tracking branch ↵Douwe Maan2017-03-073-1/+38
| |\ \ \ | | |/ / | |/| | | | | | 'origin/personal_access_token_api_and_impersonation_token'
| | * | apply codestyle and implementation changes to the respective feature codepersonal_access_token_api_and_impersonation_tokenTiago Botelho2017-03-061-1/+1
| | | |
| | * | applies relevant changes to the code and code structureTiago Botelho2017-02-281-1/+1
| | | |
| | * | add impersonation tokenSimon Vocella2017-02-282-0/+19
| | | |
| | * | manage personal_access_tokens through apiSimon Vocella2017-02-282-1/+19
| | | |
* | | | Fix AddRelativePositionToIssues migrationValery Sizov2017-03-071-2/+8
| | | |
* | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into orderable-issuesValery Sizov2017-03-075-2/+84
|\ \ \ \ | |/ / /
| * | | Merge branch '26371-native-emojis-v3' into 'master' Filipa Lacerda2017-03-071-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add emoji images - Base Native Unicode Emojis Closes #26371 See merge request !9569
| | * | | Fix up @DouweM reviewEric Eastwood2017-03-061-1/+1
| | | | |
| * | | | Merge branch 'master' into 'rs-carrierwave-db'rs-carrierwave-dbDouwe Maan2017-03-062-0/+29
| |\ \ \ \ | | | | | | | | | | | | | | | | | | # Conflicts: # spec/models/group_spec.rb
| | * \ \ \ Merge branch 'zj-create-mattermost-team' into 'master' Kamil Trzciński2017-03-062-0/+29
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create Mattermost Team from GitLab Closes #23964 See merge request !8746
| | | * \ \ \ Merge branch 'master' into 'zj-create-mattermost-team'Zeger-Jan van de Weg2017-03-064-2/+34
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| | | * \ \ \ \ Merge branch 'master' into zj-create-mattermost-teamZ.J. van de Weg2017-03-061-2/+2
| | | |\ \ \ \ \ | | | | | |_|_|/ | | | | |/| | |