Fix: Missing uniqueness constraint for projects.identifier in the database (#41975).

Patch by Hiroyuki Kano (user:hiropk).


git-svn-id: https://svn.redmine.org/redmine/trunk@23407 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2024-12-14 03:29:00 +00:00
parent a7fad28754
commit 331b955f47

View File

@@ -0,0 +1,5 @@
class AddUniqueIndexToProjectsIdentifier < ActiveRecord::Migration[7.2]
def change
add_index :projects, :identifier, :unique => true
end
end