move debug constants further up to make them visible to the installer
move users table further up to fix an issue with the REFERENCES constraint