Terminal commands in the Cascade do not use the default Python Virtualenv which results in errors when running Python commands like Alembic to generate database migrations.
Cascade terminal commands should by default use and activate the Python Virtualenv specified in the settings of the IDE.