Sha256: 4d7a694cc950e36a86295c1c9bfaa867822adfbcce4be849e343a595684f6cfc
Contents?: true
Size: 869 Bytes
Versions: 12
Compression:
Stored size: 869 Bytes
Contents
class CreateUsersTable < ActiveRecord::Migration def self.up create_table :users do |t| t.string :first_name, :limit => 40 t.string :last_name, :limit => 40 t.string :email, :limit => 100 t.string :homepage t.string :about t.string :signature t.string :password_hash, :limit => 40 t.string :password_salt, :limit => 40 t.string :ip t.string :agent t.string :referer t.string :remember_me, :limit => 40 t.string :token_key, :limit => 40 t.datetime :token_expiration t.boolean :anonymous, :default => false t.timestamps t.datetime :verified_at t.datetime :deleted_at end end def self.down drop_table :users end end
Version data entries
12 entries across 12 versions & 2 rubygems