10 lines
276 B
Ruby
10 lines
276 B
Ruby
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
|