Skip to content

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

Remove virtual delay column

Klaus Zanders259f2b54684a
diff --git a/db/migrate/20240410060041_remove_virtual_delay_column.rb b/db/migrate/20240410060041_remove_virtual_delay_column.rb
new file mode 100644
index 00000000000..69c75e4083d
--- /dev/null
+++ b/db/migrate/20240410060041_remove_virtual_delay_column.rb
@@ -0,0 +1,5 @@
+class RemoveVirtualDelayColumn < ActiveRecord::Migration[7.1]
+ def change
+ remove_column :relations, :delay, :virtual, type: :integer, as: 'lag', stored: true
+ end
+end