mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 09:03:49 +08:00
32b8a2ccff
* Adjustments to pass specs on Rails 6.0.0 * Use classic autoloader instead of Zeitwerk * Update Rails 6.0.0 deprecated methods * Rails 6.0.0 not allowing column with integer name * Drop freedom_patches/rails6.rb * Default value for trigger_transactional_callbacks? is true * Bump rspec-rails version to 4.0.0.beta2
9 lines
229 B
Ruby
9 lines
229 B
Ruby
# frozen_string_literal: true
|
|
|
|
class FixTopicAllowedGroups < ActiveRecord::Migration[4.2]
|
|
def change
|
|
# big oops
|
|
remove_column :topic_allowed_groups, :integer if column_exists?(:topic_allowed_groups, :integer)
|
|
end
|
|
end
|