mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
add steps for testing migrations
This commit is contained in:
parent
b537afc4d9
commit
d64716feed
15
README.md
15
README.md
|
@ -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
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user