box,h: switch to ensureDBOwnership

This commit is contained in:
Aaron Bieber 2023-12-05 10:24:11 -07:00
parent 3bd4d3e218
commit e27e6400dd
No known key found for this signature in database
2 changed files with 5 additions and 6 deletions

View File

@ -1088,15 +1088,15 @@ in
ensureUsers = [
{
name = "nextcloud";
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
ensureDBOwnership = true;
}
{
name = "gitea";
ensurePermissions."DATABASE gitea" = "ALL PRIVILEGES";
ensureDBOwnership = true;
}
{
name = "invidious";
ensurePermissions."DATABASE invidious" = "ALL PRIVILEGES";
ensureDBOwnership = true;
}
];
};

View File

@ -828,15 +828,14 @@ in
ensureUsers = [
{
name = "synapse_user";
ensurePermissions."DATABASE synapse" = "ALL PRIVILEGES";
}
{
name = "gotosocial";
ensurePermissions."DATABASE gotosocial" = "ALL PRIVILEGES";
ensureDBOwnership = true;
}
{
name = "syncv3";
ensurePermissions."DATABASE syncv3" = "ALL PRIVILEGES";
ensureDBOwnership = true;
}
];
};