Sha256: 85b7e40d3a1188bae2e2a43b7d2d4d1ef561e8de2e2638a3c9b0055f90a47a3c

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :email
      t.string :encrypted_password
      t.string :session_token
      t.datetime :session_expiration
      t.integer :sign_in_count
      t.datetime :last_sign_in_at
      t.string :last_sign_in_ip
      t.datetime :last_access_at
      t.datetime :current_sign_in_at
      t.string :current_sign_in_ip

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authenticate-0.1.0 spec/dummy/db/migrate/20160120003910_create_users.rb