class CreateBranches < ActiveRecord::Migration[5.2] def change create_table :branches do |t| t.string :name, null: false t.references :software, foreign_key: true t.timestamps end end end