Sha256: 46f2f0292dd5a7393405ba4eae7fb536550fca76d3bc93eac206b8440390027d

Contents?: true

Size: 309 Bytes

Versions: 12

Compression:

Stored size: 309 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.string  :image_format

      t.timestamps
    end
  end

  def self.down
    drop_table :photo_files
  end
end

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
tvdeyen-fleximage-1.2.0 test/rails_root/db/migrate/001_create_photo_files.rb
tvdeyen-fleximage-1.1.1 test/rails_root/db/migrate/001_create_photo_files.rb
tvdeyen-fleximage-1.0.9 test/rails_root/db/migrate/001_create_photo_files.rb
tvdeyen-fleximage-1.0.8 test/rails_root/db/migrate/001_create_photo_files.rb
tvdeyen-fleximage-1.0.7 test/rails_root/db/migrate/001_create_photo_files.rb
robinboening-fleximage-1.0.6 test/rails_root/db/migrate/001_create_photo_files.rb
robinboening-fleximage-1.0.4 test/rails_root/db/migrate/001_create_photo_files.rb
tvdeyen-fleximage-1.0.5 test/rails_root/db/migrate/001_create_photo_files.rb
fleximage-1.0.4 test/rails_root/db/migrate/001_create_photo_files.rb
dougmcbride-fleximage-1.0.3 test/rails_root/db/migrate/001_create_photo_files.rb
fleximage-1.0.3 test/rails_root/db/migrate/001_create_photo_files.rb
fleximage-1.0.2 test/rails_root/db/migrate/001_create_photo_files.rb