Sha256: 023275e1884b4e8b99f6973a4c36d1577d61ade16daa25895f140d4bfce3d012

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

class CreateEmails < ActiveRecord::Migration
  def change
    create_table :emails do |t|
      t.integer	:customer_id	
      t.string	:email	, :limit => 120
      t.boolean	:infos	, :default => true
      t.boolean	:private	, :default => true
      t.references :emailable, :polymorphic => true
      
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 db/migrate/20120621100557_create_emails.rb
guara-0.0.1.rc db/migrate/20120621100557_create_emails.rb