class CreatePhcpressproModulesConnections < ActiveRecord::Migration[5.0] def change create_table :phcpresspro_modules_connections do |t| t.references :post, foreign_key: true t.references :category, foreign_key: true t.timestamps end end end