Sha256: c46b8ecbaa8ccbb192efbdba30490982c9a6e634615028da0e606f0e779999d1

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

class CreateContacts < ActiveRecord::Migration
  def change
    create_table :contacts do |t|
      t.references :group
      
      t.string :name
      t.string :slug
      t.text :details
      
      t.string :phone
      t.string :email
      t.string :url
      
      t.string :avatar_identifier
      t.string :avatar_extension
      t.integer :avatar_size

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formula-0.3.5 test/dummy/db/migrate/20110109175811_create_contacts.rb