Sha256: 8074a70b1bc7ff4b3388ef07c807e106e86c354ee5241d19de6cba6099abddf3

Contents?: true

Size: 400 Bytes

Versions: 9

Compression:

Stored size: 400 Bytes

Contents

# This migration comes from tb_media (originally 20120508132153)
class AddCroppingToSpudMedia < ActiveRecord::Migration
  def change
    add_column :spud_media, :crop_x, :int, :default => 0
    add_column :spud_media, :crop_y, :int, :default => 0
    add_column :spud_media, :crop_w, :int
    add_column :spud_media, :crop_h, :int
    add_column :spud_media, :crop_s, :int, :default => 100
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tb_media-1.2.2 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
tb_media-1.2.1 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
tb_media-1.2.0 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
tb_media-1.2.0.beta1 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
tb_media-1.0.8 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
tb_media-1.0.6 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
tb_media-1.0.5 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
tb_media-1.0.4 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb
tb_media-1.0.3 spec/dummy/db/migrate/20130904141448_add_cropping_to_spud_media.tb_media.rb