add steps for testing migrations

This commit is contained in:
c9s 2021-02-23 09:24:42 +08:00
parent b537afc4d9
commit d64716feed

View File

@ -292,6 +292,21 @@ rockhopper --config rockhopper_sqlite.yaml create --type sql add_pnl_column
rockhopper --config rockhopper_mysql.yaml create --type sql add_pnl_column
```
or
```
bash utils/generate-new-migration.sh add_pnl_column
```
Be sure to edit both sqlite3 and mysql migration files.
To test the drivers, you can do:
```
rockhopper --config rockhopper_sqlite.yaml up
rockhopper --config rockhopper_mysql.yaml up
```
### Setup frontend development environment
```