Sha256: c2431fc5904d76949c9b432cafbfab1100abd9ca3ba94c6d2803940ab2bd9704

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

class CreateSurveyImages < ActiveRecord::Migration
  def change
    create_table :survey_images do |t|
      t.integer :imageable_id
      t.string :imageable_type
      t.integer :position
      t.string :photo_file_name
      t.string :photo_content_type
      t.integer :photo_file_size
      t.string :caption

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
survey_says-0.0.2 db/migrate/20111213185612_create_survey_images.rb
survey_says-0.0.1 db/migrate/20111213185612_create_survey_images.rb