diff --git a/run_migrations.txt b/run_migrations.txt index f29a9f8..66d3518 100644 --- a/run_migrations.txt +++ b/run_migrations.txt @@ -1,3 +1,7 @@ +# Make sure role has CREATEDB +ALTER ROLE username_that_needs_permission CREATEDB; + +# Install migrations cargo install sqlx-cli sqlx migrate add init_migration sqlx migrate run @@ -12,4 +16,4 @@ sqlx database drop sqlx database setup # Reset -sqlx database reset \ No newline at end of file +sqlx database reset