Fix database initialization on Redmine first install