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

use root instead of English specific collation

Ivan Kuchind43e00759691
diff --git a/db/migrate/20240920152544_set_versions_name_collation.rb b/db/migrate/20240920152544_set_versions_name_collation.rb
index 3a2da158eb9..1109bf9eec4 100644
--- a/db/migrate/20240920152544_set_versions_name_collation.rb
+++ b/db/migrate/20240920152544_set_versions_name_collation.rb
@@ -1,7 +1,7 @@
class SetVersionsNameCollation < ActiveRecord::Migration[7.1]
def up
execute <<-SQL.squish
- CREATE COLLATION IF NOT EXISTS versions_name (provider = icu, locale = 'en-u-kn-true');
+ CREATE COLLATION IF NOT EXISTS versions_name (provider = icu, locale = 'und-u-kn-true');
SQL
change_column :versions, :name, :string, collation: "versions_name"