crowdAI/crowdai

View on GitHub
doc/technical/archived_migrations/20160208191656_create_bootsy_image_galleries.bootsy.rb

Summary

Maintainability
A
0 mins
Test Coverage
# This migration comes from bootsy (originally 20120628124845)
class CreateBootsyImageGalleries < ActiveRecord::Migration
  def change
    create_table :bootsy_image_galleries do |t|
      t.references :bootsy_resource, polymorphic: true
      t.timestamps
    end
  end
end