Always use internal ID tables in development and production
To avoid quiet failures that cause consistency errors in the database, we should now assume that the internal_ids table is available since we've had this table for close to a year.
For tests that have migrations, we make this check thread-safe via
SafeRequestStore
.
Edited by Stan Hu