summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/migrate/20160824103857_drop_unused_ci_tables.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20160824103857_drop_unused_ci_tables.rb b/db/migrate/20160824103857_drop_unused_ci_tables.rb
index 65cf46308d9..cd47004258f 100644
--- a/db/migrate/20160824103857_drop_unused_ci_tables.rb
+++ b/db/migrate/20160824103857_drop_unused_ci_tables.rb
@@ -5,7 +5,7 @@ class DropUnusedCiTables < ActiveRecord::Migration
DOWNTIME = false
def change
- drop_table(:ci_services)
- drop_table(:ci_web_hooks)
+ drop_table(:ci_services, force: :cascade)
+ drop_table(:ci_web_hooks, force: :cascade)
end
end