$ sqlx migrate revert
$ psql -U postgres -d dev
> DROP table _sqlx_migrations;
> \q
$ sqlx migrate run
Change database, change global/client commands
$ sudo /etc/init.d/postgresql start
$ export OPUS_LIB_DIR=/mnt/c/Users/5joshi/libopus/
$ export OPUS_NO_PKG=1
$ export OPUS_STATIC=1
$ cargo build --release --features vendored-openssl --target arm-unknown-linux-gnueabihf
$ scp /target/arm-unknown-linux-gnueabihf/release/fivebot [email protected]:/home/pi/Desktop
$ ssh [email protected]
$ tmux new -s fivebot
$ cd Desktop
$ ./fivebot
# ctrl+B - D -- to leave tmux session
# tmux attach -t fivebot -- to enter tmux session