Sha256: c499cc63b2f148a2ad56512f8334fb93098e39d68e73435421352d0cc55bf401

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

class VirtualUser < ActiveRecord::Migration
  def change
    create_table :virtual_users do |t|
      t.string :name

      ## Database authenticatable
      t.string :email,              :null => false, :default => ""
      t.string :encrypted_password, :null => false, :default => ""
      ## Encryptable
      t.string :password_salt

      ## Rememberable
      t.datetime :remember_created_at

      ## Recoverable
      t.string   :reset_password_token
      t.datetime :reset_password_sent_at

      t.integer :quota_kb, :default => 10485760 # 10M
      t.integer :quota_messages, :default => 0

      t.references :virtual_domain
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmails-0.2.5 db/migrate/20121112201341_virtual_user.rb
rmails-0.2.4 db/migrate/20121112201341_virtual_user.rb
rmails-0.2.3 db/migrate/20121112201341_virtual_user.rb