mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-08 01:07:16 +02:00
different user creates database
This commit is contained in:
parent
93e4f0bf05
commit
cba92c5d30
|
@ -35,7 +35,7 @@
|
|||
sudo -u ${config.services.postgresql.superUser} psql -c "ALTER ROLE dvbdump WITH PASSWORD '$(cat ${config.sops.secrets.postgres_password_dvbdump.path})'"
|
||||
sudo -u ${config.services.postgresql.superUser} psql -c "ALTER ROLE telegrams WITH PASSWORD '$(cat ${config.sops.secrets.postgres_password_telegrams.path})'"
|
||||
|
||||
sudo -u ${config.services.postgresql.superUser} psql --dbname telegrams -c "create table r09_telegrams (
|
||||
sudo -u telegrams psql --dbname telegrams -c "create table r09_telegrams (
|
||||
id serial8 primary key not null,
|
||||
time timestamp not null,
|
||||
station UUID not null,
|
||||
|
|
Loading…
Reference in New Issue
Block a user