Revert "DEV: Update add_column migration to remove transaction (#16715)" (#16716)

This reverts commit e599b5b08f.

This didn't solve the problem we were trying to fix - reverting back to the standard migration pattern
This commit is contained in:
David Taylor 2022-05-11 12:36:11 +01:00 committed by GitHub
parent e599b5b08f
commit d90065e0ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -1,9 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class AddLastSeenReviewableIdToUser < ActiveRecord::Migration[7.0] class AddLastSeenReviewableIdToUser < ActiveRecord::Migration[7.0]
disable_ddl_transaction!
def change def change
add_column :users, :last_seen_reviewable_id, :integer, if_not_exists: true add_column :users, :last_seen_reviewable_id, :integer
end end
end end