Add rspec database tests for setting up the database after using rake gitlab:db:drop_tables
Proposal
Add tests that perform a schema load, or restore or migration after having run rake gitlab:db:drop_tables
Why
All of our migrate/rollback/backup-restore tests use db:drop but in production environments the database.yml pg user may not have permission to drop or reset the database, so instead users use rake gitlab:db:drop_tables
Downstream tests like the backup tests in the charts often catch these issues #347140 (comment 752240094) but this is only after the issue exists in gitlab master.