forgeplus/db/migrate/20210111093200_create_team_...

12 lines
258 B
Ruby

class CreateTeamUnits < ActiveRecord::Migration[5.2]
def change
create_table :team_units do |t|
t.references :organization
t.references :team
t.integer :unit_type, comment: "访问单元类型"
t.timestamps
end
end
end