summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | 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
| | | | | | | | | | |
* | | | | | | | | | | Enable prometheus metrics by defaultFelipe Artur2018-05-072-2/+13
| |_|_|_|_|_|_|_|/ / |/| | | | | | | | |
* | | | | | | | | | Backports every CE related change from ee-44542 to CETiago Botelho2018-05-044-1/+88
| | | | | | | | | |
* | | | | | | | | | Add `accepted_terms` to usersBob Van Landuyt2018-05-042-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Add model to track users accepting agreementsBob Van Landuyt2018-05-042-0/+42
| | | | | | | | | |
* | | | | | | | | | Add `Term` model to keep track of termsBob Van Landuyt2018-05-042-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That way we can link a users acceptance of terms directly to a terms record.
* | | | | | | | | | Add `enforce_terms` to `application_settings`Bob Van Landuyt2018-05-042-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a flag to applications settings to enforce users to accept terms before using the GitLab instance
* | | | | | | | | | Make add_index_to_namespaces_runners_token migration reversibleDylan Griffith2018-05-041-1/+7
| | | | | | | | | |
* | | | | | | | | | Fix constants in backfill_runner_type_for_ci_runners_post_migrate.rbDylan Griffith2018-05-031-4/+4
| | | | | | | | | |
* | | | | | | | | | Use smallint for runner_type since its an enumDylan Griffith2018-05-032-2/+2
| | | | | | | | | |
* | | | | | | | | | Remove unnecessary disable transaction in add_ci_runner_namespacesDylan Griffith2018-05-031-2/+0
| | | | | | | | | |
* | | | | | | | | | Split migration to add and index namespaces.runners_tokenDylan Griffith2018-05-033-10/+16
| | | | | | | | | |
* | | | | | | | | | Extract constants in ↵Dylan Griffith2018-05-031-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20180430143705_backfill_runner_type_for_ci_runners_post_migrate
* | | | | | | | | | Merge branch 'master' into feature/runner-per-groupDylan Griffith2018-05-034-0/+56
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / | |/| | | | | | | |
| * | | | | | | | | Use stages position column to track stage indexGrzegorz Bizon2018-05-013-5/+5
| | | | | | | | | |