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