Sha256: 9769f2c675fc944384fff31f85ee86c5cba65eede7131104263332c1d0434560

Contents?: true

Size: 247 Bytes

Versions: 15

Compression:

Stored size: 247 Bytes

Contents

class CreateContacts < ActiveRecord::Migration
  def change
    create_table :contacts do |t|
      t.integer :person_id
      t.text :address
      t.string :phone
      t.string :fax
      t.string :country

      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
active_list-6.4.0 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.3.1 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.3.0 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.2.4 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.2.3 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.2.1 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.2.0 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.1.5 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.1.4 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.1.3 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.1.2 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.1.1 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.1.0 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.0.1 test/dummy/db/migrate/20120510134500_create_contacts.rb
active_list-6.0.0 test/dummy/db/migrate/20120510134500_create_contacts.rb