Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Collapse)Author
2018-05-17Fix: Use case in-sensitive ordering by name for groupsHarish Ved
2018-05-15Add a unique and not null constraint on the project_features.project_id columnStan Hu
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.
2018-05-15Add index on runner_type for ci_runnersDylan Griffith
We use this to filter runner and will use this increasingly in future instead of is_shared so it should be indexed
2018-05-09Merge branch 'master' into 'fix-project-mirror-data-schema'Douwe Maan
# Conflicts: # db/schema.rb
2018-05-09Merge branch 'fix/gb/add-missing-foreign-key-to-database-schema' into 'master'Kamil Trzciński
Add missing pipeline build foreign key to the schema See merge request gitlab-org/gitlab-ce!18846
2018-05-09Merge branch 'fix/gb/add-tmp-index-to-improve-stages-migration-cleanup' into ↵Kamil Trzciński
'master' Add tmp index to ci_builds to optimize stages migration Closes #46179 See merge request gitlab-org/gitlab-ce!18844
2018-05-09Merge branch '46010-runner-type-not-null' into 'master'Kamil Trzciński
Set `ci_runners.runner_type` not null See merge request gitlab-org/gitlab-ce!18825
2018-05-09Add missing pipeline build foreign key to the schemaGrzegorz Bizon
2018-05-09Add tmp index to ci_builds to optimize stages migrationGrzegorz Bizon
2018-05-09Fix `downtime_check` jobblackst0ne
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.
2018-05-09Add DB constraint ci_runners.runner_type not nullDylan Griffith
2018-05-08Merge branch 'fix/gb/add-pipeline-builds-foreign-key' into 'master'Kamil Trzciński
Add database foreign key between pipelines and builds Closes #46035 See merge request gitlab-org/gitlab-ce!18822
2018-05-08Reduce scope of orphaned builds to be removedGrzegorz Bizon
2018-05-08Remove orphaned builds without project / pipeline referenceGrzegorz Bizon
2018-05-08Merge branch 'dz-squash-old-migrations' into 'master'Douwe Maan
Squash migrations from 2013 See merge request gitlab-org/gitlab-ce!18547
2018-05-08Add database foreign key between pipelines and buildsGrzegorz Bizon
2018-05-08Adds unique constraint to ProjectMirrorData project_id indexTiago Botelho
2018-05-08Adds not null constraint to ProjectMirrorData's foreign_key project_idTiago Botelho
2018-05-08Add MakeRemoteMirrorsDisabledByDefault DB migrationAsh McKenzie
2018-05-07Merge branch '42099-port-push-mirroring-to-ce-ce-port-v-2' into 'master'Douwe Maan
CE backport of Backports Push Mirrors to CE Closes #42099 See merge request gitlab-org/gitlab-ce!18715
2018-05-07Cleanup pipeline build stage background migrationGrzegorz Bizon
2018-05-07Merge branch 'live-trace-v2' into 'master'Grzegorz Bizon
New CI Job live-trace architecture (v2) Closes #44935 See merge request gitlab-org/gitlab-ce!18169
2018-05-07Adds remote mirror table migrationTiago Botelho
2018-05-07Backports every CE related change from ee-5484 to CETiago Botelho
2018-05-07Enable prometheus metrics by defaultFelipe Artur
2018-05-07Merge branch 'master' into live-trace-v2Shinya Maeda
2018-05-04Backports every CE related change from ee-44542 to CETiago Botelho
2018-05-04Add `accepted_terms` to usersBob Van Landuyt
This will act as a cache, otherwise we would need to load the `term_agreements` for a user on each request. Using this field the result we're interested in is loaded when the current user is loaded, without causing an extra query.
2018-05-04Add model to track users accepting agreementsBob Van Landuyt
2018-05-04Add `Term` model to keep track of termsBob Van Landuyt
That way we can link a users acceptance of terms directly to a terms record.
2018-05-04Add `enforce_terms` to `application_settings`Bob Van Landuyt
Add a flag to applications settings to enforce users to accept terms before using the GitLab instance
2018-05-04Make add_index_to_namespaces_runners_token migration reversibleDylan Griffith
2018-05-03Fix constants in backfill_runner_type_for_ci_runners_post_migrate.rbDylan Griffith
2018-05-03Use smallint for runner_type since its an enumDylan Griffith
2018-05-03Remove unnecessary disable transaction in add_ci_runner_namespacesDylan Griffith
2018-05-03Split migration to add and index namespaces.runners_tokenDylan Griffith
2018-05-03Extract constants in ↵Dylan Griffith
20180430143705_backfill_runner_type_for_ci_runners_post_migrate
2018-05-03Merge branch 'master' into feature/runner-per-groupDylan Griffith
2018-05-03Again fix db/schema.rb for ci_runner_namespacesDylan Griffith
2018-05-03Fix db/schema.rb for add_foreign_key ci_runner_namespaces namespace_idDylan Griffith
2018-05-03Merge branch 'master' into live-trace-v2Shinya Maeda
2018-05-02Rename RunnerGroup -> RunnerNamespaceDylan Griffith
2018-05-01Use stages position column to track stage indexGrzegorz Bizon
2018-05-01Merge branch 'master' into backstage/gb/migrate-pipeline-stages-indexGrzegorz Bizon
* master: (106 commits)
2018-05-01Simplify AddCiRunnerGroups migrationDylan Griffith
2018-04-30Start persisting runner_type when creating runnersDylan Griffith
2018-04-30Fix up db/schema.rb changes leftover and comments out of dateDylan Griffith
2018-04-27Fix schema versionShinya Maeda
2018-04-27Update 20180420080616_schedule_stages_index_migration.rbGrzegorz Bizon
2018-04-27Remove unecessary index on ci_runner_groups.runner_idDylan Griffith