discourse/db/migrate/20140715051412_add_auto_revoke_to_badges.rb

6 lines
157 B
Ruby

class AddAutoRevokeToBadges < ActiveRecord::Migration[4.2]
def change
add_column :badges, :auto_revoke, :boolean, default: true, null: false
end
end