mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
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:
parent
a7fad28754
commit
331b955f47
@ -0,0 +1,5 @@
|
||||
class AddUniqueIndexToProjectsIdentifier < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_index :projects, :identifier, :unique => true
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user