[sr-dev] DB Error using allow_trusted after upgrade