Title here
Summary here
jetshift migrate -e database-engine
jetshift migrate # default engine is mysql
jetshift migrate -e clickhouse
jetshift migrate table-name -e database-engine
jetshift migrate users # default engine is mysql
jetshift migrate users -e clickhouse
The -d
option will drop all tables from the database:
Drop all tables:
jetshift migrate -d
jetshift migrate -d -e clickhouse
The --fresh
or -f
option will drop the table from the database and then execute the migrate command:
Drop and migrate all tables:
jetshift migrate --fresh # default engine is mysql
jetshift migrate -e clickhouse -f
Drop and migrate specific table:
jetshift migrate users --fresh # default engine is mysql
jetshift migrate users -e clickhouse -f