metamaps--metamaps/db/migrate/20161125175229_add_emails_allowed_to_users.rb

5 lines
148 B
Ruby

class AddEmailsAllowedToUsers < ActiveRecord::Migration[5.0]
def change
add_column :users, :emails_allowed, :boolean, default: true
end
end