Promise resolving to true if schema tables exist, false otherwise
Example
consthasSchema = awaitschemaExists(env.DB_NEW_SHARD, "users"); if (!hasSchema) { console.log('Creating schema on new shard...'); awaitcreateSchema(env.DB_NEW_SHARD, usersSchema); }
Performs a lightweight check to determine if the expected schema is present in the database.