Sha256: bcfb1c76460c176fdbffb897985e028aaf83f9e24a853c215c8e30143787eb2b

Contents?: true

Size: 229 Bytes

Versions: 5

Compression:

Stored size: 229 Bytes

Contents

class CreatePhotos < ActiveRecord::Migration
  def change
    create_table :photos do |t|
      t.integer :priority
      t.string :attachment
      t.string :title
      t.text :description

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beerify-0.2.0 db/migrate/20130826095103_create_photos.rb
beerify-0.1.3 db/migrate/20130826095103_create_photos.rb
beerify-0.1.2 db/migrate/20130826095103_create_photos.rb
beerify-0.1.1 db/migrate/20130826095103_create_photos.rb
beerify-0.1.0 db/migrate/20130826095103_create_photos.rb