DEV: Apply syntax_tree formatting to db/*

This commit is contained in:
David Taylor
2023-01-09 11:59:41 +00:00
parent cb932d6ee1
commit b0fda61a8e
467 changed files with 1682 additions and 1624 deletions

View File

@@ -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