21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-15 15:08:38 +02:00
chexpire/db/migrate/20180524205809_add_custom_fields_to_users.rb

7 lines
243 B
Ruby

class AddCustomFieldsToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :tos_accepted, :boolean, null: false, default: false
add_column :users, :notifications_enabled, :boolean, null: false, default: true
end
end