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