Title here
Summary here
Each database engine (dialect) has its own schema, so you need to specify the engine when creating a migration.
Example database engines: mysql, sqlite, mariadb, postgresql, clickhouse, redshift.
JetShift supports all SQLAlchemy’s Dialects. For ClickHouse, the dialect name is clickhouse-sqlalchemy
. You can simply use clickhouse
instead of the full dialect name. Ensure you use the same name when running migrations or creating seeders.
To create a new migration for a table, use the following command:
Examples