Class: CreateUsers

Inherits:
Object show all
Defined in:
lib/vapid/db/migrate/20170202185150_create_users.rb

Overview

Create users table

Instance Method Summary collapse

Instance Method Details

#changeObject



3
4
5
6
7
8
9
10
# File 'lib/vapid/db/migrate/20170202185150_create_users.rb', line 3

def change
  create_table :users do |t|
    t.string :email
    t.string :password_digest

    t.timestamps
  end
end