Sha256: cbd977fa9b89efefc14586c6645970af2b6f2ff0c87da2e55901e3a64bc94a63

Contents?: true

Size: 265 Bytes

Versions: 5

Compression:

Stored size: 265 Bytes

Contents

class CreateClipPeople < ActiveRecord::Migration
  def change
    create_table :clip_people do |t|
      t.references :person
      t.references :clip

      t.timestamps
    end
    add_index :clip_people, :person_id
    add_index :clip_people, :clip_id
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kinney-0.1.1 db/migrate/20120608155215_create_clip_people.rb
kinney-0.1.0 db/migrate/20120608155215_create_clip_people.rb
kinney-0.0.3 db/migrate/20120608155215_create_clip_people.rb
kinney-0.0.2 db/migrate/20120608155215_create_clip_people.rb
kinney-0.0.1 db/migrate/20120608155215_create_clip_people.rb