forgeplus/db/migrate/20210317012035_create_proje...

11 lines
202 B
Ruby

class CreateProjectUnits < ActiveRecord::Migration[5.2]
def change
create_table :project_units do |t|
t.references :project
t.integer :unit_type
t.timestamps
end
end
end