diff options
author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-08-24 11:43:44 +0100 |
---|---|---|
committer | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-08-26 21:30:37 +0100 |
commit | 9c2d061ad468e6a47d21617fb2c6b874e22c13bc (patch) | |
tree | cb24ecdec0cc65f290d20128b63af5ee8baa4c7d /db/migrate/20160824103857_drop_unused_ci_tables.rb | |
parent | 0e3c7b2f2a5742216eda2d2cf6df9a5ea5f866ff (diff) | |
download | gitlab-ce-9c2d061ad468e6a47d21617fb2c6b874e22c13bc.tar.gz |
Drop unused CI tables and fileszj-remove-unused-ci-tables
These tables, web hooks and services, are unused but where not dropped
with the commits d5c91bb9a601a1a344d94763654f0b0996857497 and
2988e1fbf50b3c9e803a9358933e3e969e64dcc3.
The file was left too, but never called.
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 |