Sha256: 035e9c8ded5f0f106167cbcc8a345233eec447d12c6d2902146ca005d0161a80
Contents?: true
Size: 448 Bytes
Versions: 13
Compression:
Stored size: 448 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def self.up create_table(:users) do |t| t.string :email t.string :crypted_password, :limit => 40 t.string :salt, :limit => 40 t.string :remember_token t.datetime :remember_token_expires_at t.boolean :confirmed, :default => false, :null => false end add_index :users, [:email, :crypted_password] end def self.down drop_table :users end end
Version data entries
13 entries across 13 versions & 1 rubygems