Skip to content

Commit

Permalink
fix dbuser reference (#1903)
Browse files Browse the repository at this point in the history
  • Loading branch information
AronNovak authored Feb 9, 2024
1 parent 79af947 commit ff39455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NixSupport/nixosModules/appWithPostgres.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ in
enable = true;
initialScript = pkgs.writeText "ihp-initScript" ''
CREATE USER ${cfg.databaseUser};
GRANT ALL PRIVILEGES ON DATABASE ${cfg.databaseName} TO "${pkgs.databaseUser}";
GRANT ALL PRIVILEGES ON DATABASE ${cfg.databaseName} TO "${cfg.databaseUser}";
CREATE DATABASE ${cfg.databaseName} OWNER ${cfg.databaseUser};
\connect ${cfg.databaseName}
CREATE TABLE IF NOT EXISTS schema_migrations (revision BIGINT NOT NULL UNIQUE);
Expand Down

0 comments on commit ff39455

Please sign in to comment.