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

6 lines
148 B
Ruby
Raw Permalink Normal View History

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