From d74b26189713d7e2d3e9a410b82568df92d1fc97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sun, 30 May 2021 14:49:54 +0200 Subject: [PATCH] fix(hedgedoc): use shortid for backup file name --- configs/hedgedoc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/hedgedoc.nix b/configs/hedgedoc.nix index 03fc903..2046806 100644 --- a/configs/hedgedoc.nix +++ b/configs/hedgedoc.nix @@ -35,7 +35,7 @@ in systemd.services.hedgedoc-backup = { description = "Hedgedoc backup service"; script = '' - ${pkgs.sqlite}/bin/sqlite3 -csv ${stateLocation} "select id, alias, ownerId, content from Notes" \ + ${pkgs.sqlite}/bin/sqlite3 -csv ${stateLocation} "select shortid, alias, ownerId, content from Notes" \ | ${pkgs.writers.writePython3 "hedgedoc-csv-to-fs.py" {} '' import csv import pathlib