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

add migration utils include

Markus Kahlfa15643b99a6
diff --git a/db/migrate/20240808125617_populate_remote_identities.rb b/db/migrate/20240808125617_populate_remote_identities.rb
index 9ae7b25bdd3..f526f1e084b 100644
--- a/db/migrate/20240808125617_populate_remote_identities.rb
+++ b/db/migrate/20240808125617_populate_remote_identities.rb
@@ -28,7 +28,11 @@
# See COPYRIGHT and LICENSE files for more details.
#++
+require_relative "migration_utils/utils"
+
class PopulateRemoteIdentities < ActiveRecord::Migration[7.1]
+ include ::Migration::Utils
+
def up
execute_sql <<~SQL.squish
INSERT INTO remote_identities(user_id, oauth_client_id, origin_user_id, created_at, updated_at)