Sha256: b6da66001f8565d0abfb64caa7037c3e07680945088ea3468657c30d5b46b7dc
Contents?: true
Size: 427 Bytes
Versions: 13
Compression:
Stored size: 427 Bytes
Contents
class CreateUsers < ActiveRecord::Migration<%= migration_version %> def change create_table :users do |t| t.timestamps null: false t.string :email, null: false t.string :encrypted_password, limit: 128, null: false t.string :confirmation_token, limit: 128 t.string :remember_token, limit: 128, null: false end add_index :users, :email add_index :users, :remember_token end end
Version data entries
13 entries across 13 versions & 1 rubygems