add script for generating migration

This commit is contained in:
c9s 2021-02-23 09:15:51 +08:00
parent 96362a4936
commit 55cb5bc578

View File

@ -0,0 +1,4 @@
#!/bin/bash
set -e
rockhopper --config rockhopper_sqlite.yaml create --type sql $1
rockhopper --config rockhopper_mysql.yaml create --type sql $1