Setting postgres.username with rando value on tail end

This commit is contained in:
shockrah 2025-03-10 21:51:03 -07:00
parent 219ec4df9a
commit a7bae463a2

View File

@ -59,7 +59,7 @@ fn full_setup(args: Args) -> Result<Config, postgres::Error> {
};
let setup_tables_script = fs::read_to_string(db_folder)
.expect("Failed to load file: db/setup-tables.sql");
let postgres_admin = admin("bubble_admin-", PASSWORD_LENGTH);
let postgres_admin = admin(&format!("bubble_admin-{}", random_string(8)), PASSWORD_LENGTH);
let bubble_admin = admin(
&format!("admin-{}", random_string(8)),
PASSWORD_LENGTH