Sha256: de167ec30294086e3eeee3078fdae4480110cff1ea844a2f7715b1b39ce80712

Contents?: true

Size: 305 Bytes

Versions: 14

Compression:

Stored size: 305 Bytes

Contents

class CreatePhotoDbs < ActiveRecord::Migration
  def self.up
    create_table :photo_dbs do |t|
      t.string :image_filename
      t.integer :image_width
      t.integer :image_height
      t.binary :image_file_data

      t.timestamps
    end
  end

  def self.down
    drop_table :photo_dbs
  end
end

Version data entries

14 entries across 14 versions & 4 rubygems

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