Sha256: 1ed261d4b4b8e1405c8665b6a44d0b3a4e9c02ed04317faee5766597d68b06da

Contents?: true

Size: 269 Bytes

Versions: 6

Compression:

Stored size: 269 Bytes

Contents

class CreatePlaces < ActiveRecord::Migration
  def self.up
    create_table :places do |t|
      t.integer :person_id
      t.string :address
      t.string :city
      t.string :state

      t.timestamps
    end
  end

  def self.down
    drop_table :places
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jtable-rails-0.2.5 spec/support/rails_app/db/migrate/20110302024653_create_places.rb
jtable-rails-0.2.4 spec/support/rails_app/db/migrate/20110302024653_create_places.rb
jtable-rails-0.2.3 spec/support/rails_app/db/migrate/20110302024653_create_places.rb
jtable-rails-0.2.2 spec/support/rails_app/db/migrate/20110302024653_create_places.rb
jtable-rails-0.2.1 spec/support/rails_app/db/migrate/20110302024653_create_places.rb
jtable-rails-0.2.0 spec/support/rails_app/db/migrate/20110302024653_create_places.rb