11 lines
219 B
Ruby
11 lines
219 B
Ruby
|
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
|