diff options
Diffstat (limited to 'db/migrate/20160824103857_drop_unused_ci_tables.rb')
-rw-r--r-- | db/migrate/20160824103857_drop_unused_ci_tables.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20160824103857_drop_unused_ci_tables.rb b/db/migrate/20160824103857_drop_unused_ci_tables.rb new file mode 100644 index 00000000000..65cf46308d9 --- /dev/null +++ b/db/migrate/20160824103857_drop_unused_ci_tables.rb @@ -0,0 +1,11 @@ +class DropUnusedCiTables < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + # Set this constant to true if this migration requires downtime. + DOWNTIME = false + + def change + drop_table(:ci_services) + drop_table(:ci_web_hooks) + end +end |