Sha256: ab9f150f0546def698c207ee4f72834c251876a5a8b7c1cc370589924237100d
Contents?: true
Size: 514 Bytes
Versions: 14
Compression:
Stored size: 514 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :email t.string :encrypted_password, limit: 128 t.string :session_token, limit: 128 t.datetime :current_sign_in_at t.string :current_sign_in_ip, limit: 128 t.datetime :last_sign_in_at t.string :last_sign_in_ip, limit: 128 t.integer :sign_in_count end add_index :users, :email add_index :users, :session_token end end
Version data entries
14 entries across 14 versions & 1 rubygems