Fix Database Reset

Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2026-07-05 13:18:38 +02:00
parent a5dfe6ab7e
commit 1ceb10439b
2 changed files with 435 additions and 1 deletions
+6 -1
View File
@@ -29,6 +29,11 @@ class ResetCommand : CliktCommand() {
execute(schema) { }
val seed = javaClass.getResource("/db/reset-seed.sql")
?: throw CliktError("Reset seed file not found!")
execute(seed.readText()) { }
echo(TextColors.brightGreen(TextStyles.bold("Database reset!")))
}
}
}