summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'zj-clean-up-ci-variables-table' into 'master' Yorick Peterse2017-05-113-3/+40
|\ | | | | | | | | | | | | Clean up ci variables table Closes #31799 See merge request !11186
| * Remove rails dependent: :destroy statementZ.J. van de Weg2017-05-111-1/+0
| | | | | | | | | | | | | | Enforced by the database, and no callbacks need to be called. Combined with 7b9b2c6099 and 294a8b8a6d this resolves gitlab-org/gitlab-ce#31799
| * Add a foreign key to ci_variables to projectsZ.J. van de Weg2017-05-113-3/+29
| | | | | | | | | | Variables shouldn't exist without a project, so a foreign key was added with CASCADE'ing effects.
| * Prevent NULL values on ci_variables columnsZ.J. van de Weg2017-05-111-0/+12
| | | | | | | | | | | | | | | | | | | | To be more specific; key, and project_id. If either of these is NULL its wrong, because: 1. storing a key value pair without key is just plain wrong 2. all variables should belong to a project Non of these cases existed on the staging database.
* | Fix MySQL build failuredm-fix-mysql-failureDouwe Maan2017-05-101-1/+1
|/
* Merge branch 'retried-in-database-mysql' into 'master' Regis Boudinot2017-05-103-0/+39
|\ | | | | | | | | | | | | Retried in database Closes #25737 See merge request !11115
| * Make retried to be nullableKamil Trzcinski2017-05-093-10/+4
| |
| * Store retried in database for CI buildsretried-in-database-mysqlKamil Trzcinski2017-05-073-0/+45
| |
* | Merge branch '27144-enforce-rubocop-trailing_commas-no_comma-style' into ↵Robert Speicher2017-05-102-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Resolve "Use consistent style for trailing commas" Closes #27144 See merge request !11063
| * | Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-102-2/+2
| | | | | | | | | | | | | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | No user needed to cleanup namespaceless pending delete projectsToon Claes2017-05-101-6/+3
| | | | | | | | | | | | | | | Since this is a cleanup, ran by a post-deploy, there is no need to lookup the admin to run the cleanup.
* | | Use worker to destroy namespaceless projects in post-deployToon Claes2017-05-102-44/+50
| | | | | | | | | | | | | | | | | | | | | | | | Destroying projects can be very time consuming. So instead of destroying them in the post-deploy, just schedule them and make Sidekiq do the hard work. They are scheduled in batches of 5000 records. This way the number of database requests is limited while also the amount data read to memory is limited.
* | | No user is needed to delete a projectToon Claes2017-05-101-4/+1
| | |
* | | Add post-deploy migrate to cleanup projects in pending delete stateToon Claes2017-05-101-0/+47
|/ / | | | | | | | | | | | | | | | | | | There are many projects in `pending_delete` state, this post-deploy migration cleans them up. The script is based on https://gitlab.com/gitlab-org/gitlab-ce/snippets/1648654 and https://gitlab.com/gitlab-org/gitlab-ce/snippets/1611429. The use of these scripts were described in https://gitlab.com/gitlab-com/infrastructure/issues/888.
* | Small code improvements and add migration specFelipe Artur2017-05-083-2/+1
| |
* | Fix specs 2Felipe Artur2017-05-081-12/+14
| |
* | Populate merge requests head_pipeline_idFelipe Artur2017-05-082-1/+24
| |
* | Preloads head pipeline for each merge requestFelipe Artur2017-05-082-0/+9
| |
* | Add Pipeline Schedules that supersedes experimental Trigger ScheduleZeger-Jan van de Weg2017-05-079-26/+209
|/
* Merge branch '17361-redirect-renamed-paths' into 'master' Sean McGivern2017-05-064-0/+76
|\ | | | | | | | | | | | | Resolve "Redirect to new project link after a rename" Closes #17361 and #30317 See merge request !11136
| * Resolve discussionsMichael Kozono2017-05-051-3/+2
| |
| * Fix Rubocop failuresMichael Kozono2017-05-051-1/+0
| |
| * Index redirect_routes path for LIKEMichael Kozono2017-05-052-0/+30
| |
| * Add index for source association and for pathMichael Kozono2017-05-052-1/+26
| |
| * Redirect from redirect routes to canonical routesMichael Kozono2017-05-052-0/+23
| |
* | Merge branch 'blackst0ne/gitlab-ce-add_system_note_for_editing_issuable'Sean McGivern2017-05-053-1/+33
|\ \
| * | Add alias_attributes for notesblackst0ne2017-05-042-16/+0
| | |
| * | Add last_edited_at and last_edited_by attributesblackst0ne2017-05-044-1/+49
| | |
* | | Merge branch 'mia_backort' into 'master' Jacob Schatz2017-05-054-1/+103
|\ \ \ | |_|/ |/| | | | | | | | Backport of Multiple Assignees feature See merge request !11089
| * | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into mia_backort[ci ↵Valery Sizov2017-05-055-1/+49
| |\ \ | | | | | | | | | | | | skip]
| * | | [Multiple issue assignee] Fix a number of specsValery Sizov2017-05-052-2/+2
| | | |
| * | | Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-044-1/+103
| | | |
* | | | Merge branch 'add-sentry-js-again-with-vue' into 'master' Phil Hughes2017-05-052-2/+37
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Add sentry JS See merge request !6764
| * | | Merge branch 'master' into 'add-sentry-js-again-with-vue'Luke "Jared" Bennett2017-05-044-1/+32
| |\ \ \ | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | | | clientside_sentry migration and schema changes commitLuke "Jared" Bennett2017-05-042-1/+36
| | | | |
| * | | | Reset migration to headLuke "Jared" Bennett2017-05-043-98/+0
| | | | |
| * | | | Merge remote-tracking branch 'origin/master' into add-sentry-js-again-with-vueLuke "Jared" Bennett2017-05-043-1/+16
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Reset schema and migrationLuke "Jared" Bennett2017-05-041-0/+65
| | | | |
| * | | | Fixed schema diffsLuke "Jared" Bennett2017-05-031-5/+6
| | | | |
| * | | | Updated schema.rb with patch modeLuke "Jared" Bennett2017-05-031-7/+6
| | | | |
| * | | | [ci skip] Update migration to be reversible and use add_column_with_defaultLuke "Jared" Bennett2017-05-031-9/+28
| | | | |
| * | | | Merge remote-tracking branch 'origin/master' into add-sentry-js-again-with-vueLuke "Jared" Bennett2017-05-0314-0/+82
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Added migration downtime tagLuke "Jared" Bennett2017-04-281-0/+3
| | | | |
| * | | | Reverted false schema diffsLuke "Jared" Bennett2017-04-281-5/+6
| | | | |
| * | | | Applied schema update with patchLuke "Jared" Bennett2017-04-281-7/+8
| | | | |
| * | | | Revert schema.db to masterLuke "Jared" Bennett2017-04-281-11/+6
| | | | |
| * | | | Merge remote-tracking branch 'origin/master' into add-sentry-js-again-with-vueLuke "Jared" Bennett2017-04-284-0/+45
| |\ \ \ \
| * | | | | Added migrationLuke "Jared" Bennett2017-04-282-1/+13
| | | | | |
| * | | | | Attempted adding separate clientside_sentry settingsLuke "Jared" Bennett2017-04-281-7/+6
| | | | | |
* | | | | | Merge branch 'master' into 28433-internationalise-cycle-analytics-pageRuben Davila2017-05-046-1/+47
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/gitlab/cycle_analytics/review_stage.rb lib/gitlab/cycle_analytics/staging_stage.rb lib/gitlab/cycle_analytics/test_stage.rb