gitlab-org--gitlab-foss/lib/gitlab
Bob Van Landuyt 49fb31db41 Add a new column before creating rename triggers
MySQL doesn't allow us to create a trigger for a column that doesn't
exist yet. Failing with this error:

```
Mysql2::Error: Unknown column 'build_events' in 'NEW': CREATE TRIGGER trigger_6a80c097c862_insert
BEFORE INSERT
ON `services`
FOR EACH ROW
SET NEW.`build_events` = NEW.`job_events`
```

Creating the new column before creating the trigger avoids this.
2017-05-11 16:29:42 +02:00
..
auth Remove unecessary defaults for uniq ip block, cleanup refactoring leftovers 2017-03-06 15:45:43 +01:00
badge
bitbucket_import [BB Importer] Save the error trace and the whole raw document 2017-04-11 19:27:15 +03:00
cache/ci Load a project's CI status in batch from redis 2017-04-26 12:04:22 +00:00
chat_commands Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
checks Add confirm delete protected branch modal 2017-05-08 07:41:58 +00:00
ci Resolve "Update gem sidekiq-cron from 0.4.4 to 0.6.0 and rufus-scheduler from 3.1.10 to 3.4.0" 2017-05-10 15:48:09 +00:00
conflict Allow resolving conflicts with non-ASCII chars 2017-03-15 11:18:29 +00:00
cycle_analytics Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
data_builder Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
database Add a new column before creating rename triggers 2017-05-11 16:29:42 +02:00
diff Show correct size when MR diff overflows 2017-04-25 16:54:10 +01:00
downtime_check
email Fix email receiver metrics events 2017-05-05 10:37:54 +01:00
etag_caching Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
fogbugz_import Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
gfm
git Enable the Style/TrailingCommaInArguments cop 2017-05-10 18:25:45 +02:00
gitaly_client Enable the Style/TrailingCommaInArguments cop 2017-05-10 18:25:45 +02:00
github_import Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
gitlab_import
google_code_import Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
graphs
health_checks Add /-/readiness /-/liveness and /-/health_metrics endpoints to track application readiness 2017-04-07 10:27:15 +00:00
import_export Merge branch 'fix/gl-project-id' into 'master' 2017-05-08 06:52:01 +00:00
ldap Enable the Style/TrailingCommaInArguments cop 2017-05-10 18:25:45 +02:00
markdown
metrics
middleware Fix go-get support for projects in nested groups 2017-03-07 19:40:19 -06:00
o_auth Fix OAuth, LDAP and SAML SSO when regular sign-ups are disabled 2017-04-24 19:27:39 -07:00
request_profiler
saml
sanitizers
serializer
sherlock
sidekiq_middleware
sidekiq_status Periodically mark projects that are stuck in importing as failed 2017-04-05 16:11:51 +02:00
slash_commands Display slash commands outcome when previewing Markdown 2017-05-04 17:02:25 +02:00
sql
template Submodule Dockerfile templates 2017-04-26 15:57:44 +00:00
testing Introduce a new middleware for the test environment that can block requests 2017-03-22 19:45:21 +01:00
view/presenter
access.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
allowable.rb use a magic default :global symbol instead of nil 2017-03-09 11:49:52 -08:00
app_logger.rb
asciidoc.rb Merge branch 'bvl-security-9-1-markup-pipeline' 2017-05-10 16:44:20 +02:00
auth.rb Allow OAuth clients to push code 2017-04-13 13:13:22 +00:00
blame.rb
changes_list.rb
chat_name_token.rb
closing_issue_extractor.rb
color_schemes.rb
config_helper.rb
contributions_calendar.rb
contributor.rb
current_settings.rb
database.rb removes redundant code from database.rb 2017-04-11 20:20:19 +01:00
devise_failure.rb
downtime_check.rb
ee_compat_check.rb Fix Gitlab::EeCompatCheck: use `ee_branch_found` instead of `ee_branch` 2017-03-28 09:26:47 +02:00
emoji.rb Moved the title onto the emoji tag 2017-04-24 17:08:12 +01:00
environment_logger.rb
exclusive_lease.rb
file_detector.rb Implement auxiliary blob viewers 2017-05-10 20:07:04 -05:00
git.rb Incorporate Gitaly client for refs service 2017-04-04 16:53:44 +02:00
git_access.rb Don't pass `env` anymore to GitAccess, ChangeAccess, and ForcePush 2017-04-10 16:10:18 +02:00
git_access_status.rb
git_access_wiki.rb
git_logger.rb
git_post_receive.rb Allow gl-repository strings as project identifiers in PostReceive worker 2017-05-05 10:51:55 -03:00
git_ref_validator.rb
gitaly_client.rb Improve gitaly_address error message 2017-04-08 21:33:45 +02:00
gl_id.rb
gl_repository.rb Pass GL_REPOSITORY in Workhorse responses 2017-05-05 10:52:06 -03:00
gon_helper.rb Review changes 2017-05-05 15:59:03 +01:00
highlight.rb Copy code as GFM from diffs, blobs and GFM code blocks 2017-03-14 15:29:00 -06:00
i18n.rb Add CHANGELOG entry, some specs and locale file for German. 2017-05-04 18:44:19 -05:00
identifier.rb
import_export.rb Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00
import_formatter.rb
import_sources.rb
incoming_email.rb
issuable_sorter.rb Change issues sentence to use natural sorting 2017-04-25 18:57:08 -05:00
issues_labels.rb
job_waiter.rb
key_fingerprint.rb
kubernetes.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
lazy.rb
lfs_token.rb
logger.rb
mail_room.rb
markup_helper.rb Use constants in Gitlab::MarkupHelper 2017-04-20 00:39:29 +00:00
metrics.rb Fix Gitlab::Metrics metaprogramming magic 2017-04-21 11:52:28 +01:00
optimistic_locking.rb
other_markup.rb Merge branch 'bvl-security-9-1-markup-pipeline' 2017-05-10 16:44:20 +02:00
pages_transfer.rb
polling_interval.rb Convert value to string before setting Poll-Interval header 2017-04-05 15:35:05 +02:00
popen.rb
project_search_results.rb Merge branch '31157-respect-project-features-in-wiki-search' into 'security' 2017-05-10 16:44:20 +02:00
project_transfer.rb
prometheus.rb Merge request widget redesign 2017-05-09 04:15:34 +00:00
protocol_access.rb
recaptcha.rb
redis.rb Fix config/mail_room.yml to be interpretable Ruby 2017-03-15 16:21:55 -06:00
reference_extractor.rb
regex.rb Reuse Gitlab::Regex.full_namespace_regex in the DynamicPathValidator 2017-05-02 09:13:41 +02:00
repo_path.rb Generate and handle a gl_repository param to pass around components 2017-05-03 17:37:30 -03:00
repository_check_logger.rb
request_context.rb Remove unecessary defaults for uniq ip block, cleanup refactoring leftovers 2017-03-06 15:45:43 +01:00
request_profiler.rb
route_map.rb
routing.rb
search_results.rb Fix blob highlighting in search 2017-04-03 18:51:44 +01:00
seeder.rb
sentry.rb Enable the Style/TrailingCommaInArguments cop 2017-05-10 18:25:45 +02:00
shell.rb Add configurable timeout for git fetch and clone operations 2017-04-27 10:51:35 +10:00
shell_adapter.rb
sherlock.rb
sidekiq_logger.rb
sidekiq_status.rb Periodically mark projects that are stuck in importing as failed 2017-04-05 16:11:51 +02:00
sidekiq_throttler.rb
snippet_search_results.rb
time_tracking_formatter.rb
timeless.rb
update_path_error.rb
upgrader.rb
uploads_transfer.rb Merge branch '29843-project-subgroup-transfer' into 'security' 2017-03-29 19:16:50 -07:00
url_blocker.rb Merge branch 'ssrf' into 'security' 2017-03-20 18:53:45 -07:00
url_builder.rb
url_sanitizer.rb Fix ProjectWiki#http_url_to_repo signature 2017-03-20 16:24:01 +01:00
usage_data.rb Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00
user_access.rb Add confirm delete protected branch modal 2017-05-08 07:41:58 +00:00
user_activities.rb Add a new Gitlab::UserActivities class to track user activities 2017-04-14 15:20:55 +02:00
utils.rb
version_info.rb
visibility_level.rb Remove the User#is_admin? method 2017-04-09 13:20:57 +11:00
workhorse.rb Enable the Style/TrailingCommaInArguments cop 2017-05-10 18:25:45 +02:00