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/db/migrate/20181121174153_create_order...

10 lines
390 B

class CreateOrderedWorkPackages < ActiveRecord::Migration[5.1]
def change
create_table :ordered_work_packages do |t|
t.integer :position, index: true, null: false
t.references :query, type: :integer, foreign_key: { index: true, on_delete: :cascade }
t.references :work_package, type: :integer, foreign_key: { index: true, on_delete: :cascade }
end
end
end