OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
add index on lft & rgt to projects
ulferts630cd9f3523b
diff --git a/db/migrate/20220223095355_projects_lft_rgt_index.rb b/db/migrate/20220223095355_projects_lft_rgt_index.rbnew file mode 100644index 00000000000..4e020d92678--- /dev/null+++ b/db/migrate/20220223095355_projects_lft_rgt_index.rb@@ -0,0 +1,5 @@+class ProjectsLftRgtIndex < ActiveRecord::Migration[6.1]+ def change+ add_index :projects, %i[lft rgt], unique: true+ end+end