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 for sessions on user id
Klaus Zandersdd36e5f453bb
diff --git a/db/migrate/20250423123519_add_index_to_sessions.rb b/db/migrate/20250423123519_add_index_to_sessions.rbnew file mode 100644index 00000000000..1be3708d22d--- /dev/null+++ b/db/migrate/20250423123519_add_index_to_sessions.rb@@ -0,0 +1,9 @@+# frozen_string_literal: true++class AddIndexToSessions < ActiveRecord::Migration[8.0]+ disable_ddl_transaction!++ def change+ add_index :sessions, :user_id, algorithm: :concurrently+ end+end