Sha256: feda11ed89f5f13aa8d63193a80963d2f87372cf620b08e7ac093b487179eaf0
Contents?: true
Size: 471 Bytes
Versions: 9
Compression:
Stored size: 471 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def self.up 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 def self.down drop_table :users end end
Version data entries
9 entries across 9 versions & 1 rubygems