mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix all the errors to get our tests green on Rails 5.1.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class SetDefaultBadgeGrouping < ActiveRecord::Migration
|
||||
class SetDefaultBadgeGrouping < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
execute 'UPDATE badges SET badge_grouping_id = 5 WHERE badge_grouping_id IS NULL'
|
||||
change_column :badges, :badge_grouping_id, :integer, null: false, default: 5
|
||||
|
||||
Reference in New Issue
Block a user