Sha256: 7f5d5f7086c6d71cdba68608d533e0df7b7a7a5527154f3c79da35ce892447f9

Contents?: true

Size: 236 Bytes

Versions: 4

Compression:

Stored size: 236 Bytes

Contents

class RubyGalleryCreateAlbumPhotos < ActiveRecord::Migration
  def self.up
    drop_table :album_photos
  end
  def change
    create_table :album_photos do |b|
      b.integer :album_attachment_id
      b.timestamps
    end
  end


end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_gallery-0.1.5 lib/generators/active_record/templates/album_photo_migration.rb
ruby_gallery-0.1.4 lib/generators/active_record/templates/album_photo_migration.rb
ruby_gallery-0.1.3 lib/generators/active_record/templates/album_photo_migration.rb
ruby_gallery-0.1.2 lib/generators/active_record/templates/album_photo_migration.rb