gitlab-org--gitlab-foss/spec
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
..
bin
config feat: SMIME signed notification emails 2019-08-20 16:13:32 +02:00
controllers Merge branch 'ce-8631-archiving-a-project-should-create-an-audit-event' into 'master' 2019-08-22 16:06:41 +00:00
db
dependencies
factories Merge branch '39-count-unique-users-for-more-accurate-smau-reporting' into 'master' 2019-08-19 14:45:24 +00:00
features Change misleading pipeline status tooltip 2019-08-23 21:28:46 +00:00
finders Add service classes for mutating AwardEmoji 2019-08-21 11:39:41 +12:00
fixtures Merge branch 'ce-22058-improve-ux-multi-assignees-in-mr' into 'master' 2019-08-21 12:52:34 +00:00
frontend Add logic for respecting browser DNT setting 2019-08-23 07:11:26 +00:00
graphql Expose namespace storage statistics with GraphQL 2019-08-22 22:08:28 +00:00
haml_lint/linter
helpers Change misleading pipeline status tooltip 2019-08-23 21:28:46 +00:00
initializers feat: SMIME signed notification emails 2019-08-20 16:13:32 +02:00
javascripts fix charts scroll handle icon 2019-08-23 10:12:18 +00:00
lib Drop existing trigger before creating new one 2019-08-24 04:20:29 +00:00
mailers Handle namespaced models 2019-08-21 19:23:27 +00:00
migrations Add a link to docs in project description 2019-08-23 22:27:41 +00:00
models Merge branch '66037-deployment-user' into 'master' 2019-08-23 20:50:01 +00:00
policies Expose namespace storage statistics with GraphQL 2019-08-22 22:08:28 +00:00
presenters Use ActiveModel's type instead of virtus 2019-08-20 10:52:21 +00:00
rack_servers
requests Read pipelines from public projects though API 2019-08-23 20:54:32 +00:00
routing
rubocop Adds cop to enforce string limits on migrations 2019-08-23 21:36:12 +00:00
serializers Merge branch 'ce-22058-improve-ux-multi-assignees-in-mr' into 'master' 2019-08-21 12:52:34 +00:00
services Add a link to docs in project description 2019-08-23 22:27:41 +00:00
sidekiq/cron
support Add a link to docs in project description 2019-08-23 22:27:41 +00:00
tasks
uploaders
validators
views
workers Avoid conflicts between ArchiveTraceWorkers 2019-08-22 10:28:12 +07:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb