Sha256: e940e75253527a05634a55a69099b134f6aa579ad62eb8f7021190c268c25d90

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 Bytes

Contents

class AddCommunities < ActiveRecord::Migration
  def change
    create_table "communities", force: true do |t|
      t.string  "name"
      t.timestamps
    end

    add_column :people, :community_id, :integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peoplefinder-0.1.1 db/migrate/20141029113248_add_communities.rb
peoplefinder-0.1.0 db/migrate/20141029113248_add_communities.rb