Sha256: 0a547a474c15b37242b9e812ea5a4707e793c2479aa05fad0e6b60b25143288c
Contents?: true
Size: 487 Bytes
Versions: 17
Compression:
Stored size: 487 Bytes
Contents
class CreateDieselClearanceUsers < ActiveRecord::Migration def self.up create_table(:users) do |t| t.string :email t.string :encrypted_password, :limit => 128 t.string :salt, :limit => 128 t.string :confirmation_token, :limit => 128 t.string :remember_token, :limit => 128 t.timestamps end add_index :users, :email add_index :users, :remember_token end def self.down drop_table :users end end
Version data entries
17 entries across 17 versions & 2 rubygems