tab/db/migrate/20150908091028_devise_create_users.rb
David Vandorpe 7e07debc91
Revert "Fix for WiNA"
This reverts commit eae4a3e99c.
2018-03-21 19:40:03 +01:00

11 lines
310 B
Ruby

class DeviseCreateUsers < ActiveRecord::Migration
def change
create_table(:users) do |t|
t.string :name, index: true, unique: true
t.integer :balance, null: false, default: 0, index: true
t.boolean :penning, null: false, default: false
t.timestamps null: false
end
end
end