Sha256: c0bed2136012990c09397d7febc14f2892f2357ed25d2bacef3b0ed214d1f87b

Contents?: true

Size: 213 Bytes

Versions: 4

Compression:

Stored size: 213 Bytes

Contents

class RubyGalleryCreateAlbumAttachments < ActiveRecord::Migration
  def change
    create_table :album_attachments do |a|
      a.string :parent_type
      a.integer :parent_id
      a.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_attachment_migration.rb
ruby_gallery-0.1.4 lib/generators/active_record/templates/album_attachment_migration.rb
ruby_gallery-0.1.3 lib/generators/active_record/templates/album_attachment_migration.rb
ruby_gallery-0.1.2 lib/generators/active_record/templates/album_attachment_migration.rb