Sha256: dcca6d90ac2a648c3a45413ae3855395d71090663bd275d394e589122810aaa8
Contents?: true
Size: 528 Bytes
Versions: 5
Compression:
Stored size: 528 Bytes
Contents
# This migration comes from portfolio (originally 20151125151535) class CreatePortfolioSiteItemTagsItems < ActiveRecord::Migration def change create_table :portfolio_site_item_tags_items, id: false do |t| t.references :site_item, index: true t.references :site_item_tag, index: true end add_foreign_key :portfolio_site_item_tags_items, :portfolio_site_items, column: :site_item_id add_foreign_key :portfolio_site_item_tags_items, :portfolio_site_item_tags, column: :site_item_tag_id end end
Version data entries
5 entries across 5 versions & 1 rubygems