mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to db/*
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
class SetDefaultBadgeGrouping < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
execute 'UPDATE badges SET badge_grouping_id = 5 WHERE badge_grouping_id IS NULL'
|
||||
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
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user