Sha256: 00493e1a4003510e282e79fe080d897531b4af8f66c735f3814c5f8f549b9824

Contents?: true

Size: 354 Bytes

Versions: 21

Compression:

Stored size: 354 Bytes

Contents

class UpgradePhotoRelationships < ActiveRecord::Migration
  def change
    add_column :spud_photo_albums_photos, :id, :primary_key
    add_column :spud_photo_albums_photos, :order, :integer, :default => 0
    add_column :spud_photo_galleries_albums, :id, :primary_key
    add_column :spud_photo_galleries_albums, :order, :integer, :default => 0
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
tb_photos-1.0.6 db/migrate/20120405042046_upgrade_photo_relationships.rb
tb_photos-1.1.0 db/migrate/20120405042046_upgrade_photo_relationships.rb
tb_photos-1.1.0.beta1 db/migrate/20120405042046_upgrade_photo_relationships.rb
tb_photos-1.0.5 db/migrate/20120405042046_upgrade_photo_relationships.rb
tb_photos-1.0.4 db/migrate/20120405042046_upgrade_photo_relationships.rb
tb_photos-1.0.3 db/migrate/20120405042046_upgrade_photo_relationships.rb
tb_photos-1.0.1 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.9.4 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.9.3 db/migrate/20120405042046_upgrade_photo_relationships.rb
tb_photos-1.0 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.9.2 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.9.1 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.9.0.2 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.9.0.1 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.9.0 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.1.5 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.1.4 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.1.3 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.1.2 db/migrate/20120405042046_upgrade_photo_relationships.rb
spud_photos-0.1 db/migrate/20120405042046_upgrade_photo_relationships.rb