Sha256: b15584995beb60f6c59fb98436cebf4c2392f5eedea8fb1bee588710750d18ca

Contents?: true

Size: 385 Bytes

Versions: 6

Compression:

Stored size: 385 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

6 entries across 6 versions & 1 rubygems

Version Path
formula-1.0.1 test/dummy/db/migrate/20110109175811_create_contacts.rb
formula-1.0.0 test/dummy/db/migrate/20110109175811_create_contacts.rb
formula-0.3.9 test/dummy/db/migrate/20110109175811_create_contacts.rb
formula-0.3.8 test/dummy/db/migrate/20110109175811_create_contacts.rb
formula-0.3.7 test/dummy/db/migrate/20110109175811_create_contacts.rb
formula-0.3.6 test/dummy/db/migrate/20110109175811_create_contacts.rb