17 lines · 349 B · Text
RawDownload
#!/bin/bash set -e # Install sqlx-cli if neededif [[ "$(sqlx --version)" != "sqlx-cli 0.5.7" ]]; then    echo "sqlx-cli not found or not the required version, installing version 0.5.7..."    cargo install sqlx-cli --version 0.5.7fi cd crates/collab # Export contents of .env.tomleval "$(cargo run --bin dotenv)" # Run sqlx commandsqlx $@