Preserve change creation time on project renames
* doc/source/gerrit.rst: When renaming projects in the changes table, set created_on to itself so that it won't get updated to the current time. This column is a timestamp datatype in MySQL and has the "on update" property set, probably for no good reason but it's how Gerrit's installer sets the schema. Change-Id: I5b99d2869e55ab0f8b036fd08f248f406aff41bb
This commit is contained in:
parent
6e9518825a
commit
ae0c06c1a8
@ -318,7 +318,7 @@ To rename a project:
|
||||
where project_name = "openstack/OLD";
|
||||
|
||||
update changes
|
||||
set dest_project_name = "openstack/NEW"
|
||||
set dest_project_name = "openstack/NEW", created_on = created_on
|
||||
where dest_project_name = "openstack/OLD";
|
||||
|
||||
#. Move both the git repository and the mirror on
|
||||
|
Loading…
x
Reference in New Issue
Block a user