Hierarchy columns should not be nullables
rgt columns of
issues table, as well as
projects table should be defined as
This could prevent users from running Redmine with corrupted data due to a wrong db migration by import/export.