AntiPattern
Schema Creation Before Setup
premature-schema-creation-hook
Migrations or schema-setup hooks fire before the database connection and metadata are fully initialized, so CREATE SCHEMA/ DATABASE runs with incomplete or misconfigured parameters/engines, breaking Alembic/PGAdmin workflows and causing inconsistent environments.