infra: add inital scripts
This commit is contained in:
parent
613b6a9314
commit
9eab13b93e
1 changed files with 4 additions and 0 deletions
|
@ -35,5 +35,9 @@ in
|
||||||
ensureDBOwnership = true;
|
ensureDBOwnership = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
initialScript = pkgs.writeText "init-sql-script" ''
|
||||||
|
alter user postgres with password 'postgres';
|
||||||
|
alter user ${user} with password '${user}';
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue