From 08d35c36805db40448311b74aa3e60de5bccaa70 Mon Sep 17 00:00:00 2001 From: phoenix Date: Fri, 4 Apr 2025 11:21:49 -0400 Subject: [PATCH] Updated helpful instructions --- run_migrations.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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