Sha256: 5f472a1c963cbf55518f76d9888fc180a87be31de5d54943f8291ce7b121166f

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

class CreateImages < ActiveRecord::Migration
  def change
    create_table :images do |t|
      t.string :filename
      t.boolean :top_pick

      t.timestamps
    end
    
    create_table :person_images do |t|
      t.references :person
      t.references :image
      
      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kinney-0.1.1 db/migrate/20120613160548_create_images.rb
kinney-0.1.0 db/migrate/20120613160548_create_images.rb
kinney-0.0.3 db/migrate/20120613160548_create_images.rb
kinney-0.0.2 db/migrate/20120613160548_create_images.rb
kinney-0.0.1 db/migrate/20120613160548_create_images.rb