Sha256: 05b5b75f4800416a56cd8f6fa08a18bdb4f7b1add11901a3c35580f6e405f35f
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
class UpgradePhotoRelationships < ActiveRecord::Migration[4.2] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tb_photos-1.2.0 | db/migrate/20120405042046_upgrade_photo_relationships.rb |