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
Close classic meetings in the past
Oliver Güntherbd7e04590909
diff --git a/modules/meeting/db/migrate/20250404061503_migrate_classic_meetings.rb b/modules/meeting/db/migrate/20250404061503_migrate_classic_meetings.rbindex fead6b74331..e2e8dc18919 100644--- a/modules/meeting/db/migrate/20250404061503_migrate_classic_meetings.rb+++ b/modules/meeting/db/migrate/20250404061503_migrate_classic_meetings.rb@@ -63,6 +63,14 @@ class MigrateClassicMeetings < ActiveRecord::Migration[8.0]WHERE mc.type = 'MeetingMinutes';SQL+ # Close classic meetings that are in the past+ execute <<~SQL.squish+ UPDATE meetings+ SET state = 5+ WHERE type = 'Meeting'+ AND start_time < CURRENT_TIMESTAMP+ SQL+# Remove STI columnremove_column :meetings, :typeend