cargo install sqlx-cli
docker run --rm -p 5432:5432 --name postgres-db -e POSTGRES_PASSWORD=my-secret -d postgres
```console
DATABASEURL=postgres://postgres:my-secret@localhost/mydb sqlx database create DATABASEURL=sqlite://mydb.db sqlx database create
```
-r will make a reversible migration with up.sql and down.sql
```console
sqlx migrate add -r
```
edit migration schema, which will be in migrations/<YYYYMMDDHHmmSS>_<migration_name>.up.sql
and down.sql