Sha256: 90529bef4eec335621460f44fe36f174cc66662f10106678e94efd9077df3284

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

class CreatePhotoFiles < ActiveRecord::Migration
  def self.up
    create_table :photo_files do |t|
      t.string :image_filename
      t.integer :image_width
      t.integer :image_height

      t.timestamps
    end
  end

  def self.down
    drop_table :photo_files
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fleximage-1.0.1 test/rails_root/db/migrate/001_create_photo_files.rb
fleximage-1.0.0 test/rails_root/db/migrate/001_create_photo_files.rb