Fixed database schema and migrations for Devise

This commit is contained in:
Christoph Haas 2016-03-02 15:30:32 +01:00
parent 84b4d7f715
commit b1bd655998
4 changed files with 64 additions and 38 deletions

View file

@ -1,9 +1,7 @@
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.text :email
t.text :realname
t.text :password
t.timestamps null: false
end