summaryrefslogtreecommitdiff
path: root/db/migrate/20171106171453_add_timezone_to_issues_closed_at.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20171106171453_add_timezone_to_issues_closed_at.rb')
-rw-r--r--db/migrate/20171106171453_add_timezone_to_issues_closed_at.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20171106171453_add_timezone_to_issues_closed_at.rb b/db/migrate/20171106171453_add_timezone_to_issues_closed_at.rb
deleted file mode 100644
index c6edc1af6cb..00000000000
--- a/db/migrate/20171106171453_add_timezone_to_issues_closed_at.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# See http://doc.gitlab.com/ce/development/migration_style_guide.html
-# for more information on how to write migrations for GitLab.
-
-class AddTimezoneToIssuesClosedAt < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- # Set this constant to true if this migration requires downtime.
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- # rubocop:disable Migration/UpdateLargeTable
- change_column_type_concurrently(:issues, :closed_at, :datetime_with_timezone)
- end
-
- def down
- cleanup_concurrent_column_type_change(:issues, :closed_at)
- end
-end