saucy/db/migrate/20220625224650_add_preferences_to_members.rb

9 lines
251 B
Ruby

class AddPreferencesToMembers < ActiveRecord::Migration[7.0]
def change
change_table :members do |t|
t.boolean :wants_mailing_list, null: false, default: false
t.boolean :prefers_postal, null: false, default: false
end
end
end