OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/modules/bim/db/migrate/20191029155327_add_ifc_mode...

12 lines
286 B

class AddIfcModelsPlugin < ActiveRecord::Migration[5.1]
def change
create_table :ifc_models do |t|
t.string :title
t.timestamps
t.references :project, foreign_key: { on_delete: :cascade }, index: true
t.references :uploader, index: true
end
end
end