Sha256: 2b9af8a6de20bca5d356c9544f7e321de7663a46535ff311e58a7233290f2297
Contents?: true
Size: 517 Bytes
Versions: 15
Compression:
Stored size: 517 Bytes
Contents
class CreatePolygalleries < ActiveRecord::Migration def change create_table :polygallery_galleries do |t| t.string :title, :default => 'gallery' t.integer :default_photo_id t.integer :galleryable_id t.string :galleryable_type t.string :class_name t.timestamps end create_table :polygallery_photos do |t| t.integer :gallery_id t.attachment :photo t.string :title t.text :caption t.string :class_name t.timestamps end end end
Version data entries
15 entries across 9 versions & 1 rubygems