diff --git a/run_migrations.txt b/run_migrations.txt index 66d3518..927b280 100644 --- a/run_migrations.txt +++ b/run_migrations.txt @@ -3,6 +3,12 @@ ALTER ROLE username_that_needs_permission CREATEDB; # Install migrations cargo install sqlx-cli + +# Make sure to populate DATABASE_URL with correct value. +# By default, the DATABASE_URL found in .env file will be used +export DATABASE_URL="postgres://icarus_op_test:password@localhost/icarus_auth_test" + +# init sqlx migrate add init_migration sqlx migrate run