13 lines
No EOL
260 B
Makefile
13 lines
No EOL
260 B
Makefile
set dotenv-load
|
|
|
|
@default:
|
|
echo "Don't forget to set DATABASE_URL"
|
|
|
|
run_migrations: create_db
|
|
sqlx migrate run
|
|
|
|
create_db: install-cli
|
|
sqlx db create
|
|
|
|
install-cli:
|
|
cargo install sqlx-cli --no-default-features --features rustls --features sqlite
|