Sha256: 1101b5c514dcc97b146d3270cd7bd667582747761d1b0b20f3498986b5baaaeb

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

class CreateSpudPhotos < ActiveRecord::Migration[4.2]
  def change
    create_table :spud_photos do |t|
      t.string :title
      t.string :caption
      t.string :photo_file_name
      t.string :photo_content_type
      t.integer :photo_file_size
      t.datetime :photo_updated_at
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tb_photos-1.2.0 db/migrate/20120228232120_create_spud_photos.rb