gitlab-ce/lib
Reuben Pereira 599cc49973 Drop existing trigger before creating new one
- When renaming a column concurrently, drop any existing trigger before
attempting to create a new one.

When running migration specs multiple times (as it happens during
local development), the down method of previous migrations are called.
If any of the called methods contains a call to
rename_column_concurrently, a trigger will be created and not removed.
So, the next time a migration spec is run, if the same down method is
executed again, it will cause an error when attempting to create the
trigger (since it already exists). Dropping the trigger if it already
exists will prevent this problem.
2019-08-24 04:20:29 +00:00
..
api Read pipelines from public projects though API 2019-08-23 20:54:32 +00:00
assets
backup Remove dead MySQL code 2019-07-23 16:53:03 +01:00
banzai Support query parameters in metrics embeds 2019-08-15 21:38:29 +00:00
bitbucket Add author lines to project import comments 2019-08-07 14:01:40 +01:00
bitbucket_server Add changelog entry 2019-08-12 11:16:17 +01:00
constraints
container_registry Validates tag names and tags#bulk_destroy 2019-07-30 13:49:48 -03:00
declarative_policy
feature Adding gitaly feature flag for go implementation of get all lfs pointers 2019-08-23 11:22:29 -07:00
flowdock
generators/rails/post_deployment_migration
gitaly
gitlab Drop existing trigger before creating new one 2019-08-24 04:20:29 +00:00
google_api
json_web_token
mattermost Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
microsoft_teams Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
object_storage
omni_auth/strategies
peek/views Only track Redis calls if Peek is enabled 2019-08-02 23:48:14 -07:00
prometheus Clean Sidekiq metrics from multiproc dir on start 2019-08-19 12:52:07 +00:00
quality Resolves confusion within spec rake tasks 2019-07-23 18:34:50 -06:00
rouge Revert "Merge branch '65152-selective-highlight' into 'master'" 2019-08-09 00:13:09 +00:00
rspec_flaky Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
safe_zip
sentry Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
serializers Remove dead MySQL code 2019-07-23 16:53:03 +01:00
support Fix incorrect web server parameter in init.d script 2019-07-24 08:48:49 +00:00
system_check Use Git 2.22 for GitLab 2019-08-07 14:25:58 +02:00
tasks Move visual review toolbar to NPM 2019-08-23 12:57:21 -07:00
after_commit_queue.rb
backup.rb
banzai.rb
carrier_wave_string_file.rb
declarative_policy.rb
event_filter.rb
expand_variables.rb Expand variables only when needed 2019-08-13 21:51:29 +02:00
extracts_path.rb
feature.rb Add new Feature.remove method 2019-08-01 08:29:14 +10:00
file_size_validator.rb
forever.rb Remove dead MySQL code 2019-07-23 16:53:03 +01:00
gitlab.rb Backport EE changes made to the scripts/ directory 2019-07-29 13:53:20 +02:00
milestone_array.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb