feat: naming backup schedules (#103)

* docs: add agents instructions

* feat: naming backup schedules

* fix: wrong table for filtering
This commit is contained in:
Nico
2025-12-04 18:31:00 +01:00
committed by Nicolas Meienberger
parent a0fa043207
commit 2c11b7c7de
20 changed files with 1382 additions and 434 deletions

View File

@@ -67,6 +67,7 @@ export type Repository = typeof repositoriesTable.$inferSelect;
*/
export const backupSchedulesTable = sqliteTable("backup_schedules_table", {
id: int().primaryKey({ autoIncrement: true }),
name: text().notNull().unique(),
volumeId: int("volume_id")
.notNull()
.references(() => volumesTable.id, { onDelete: "cascade" }),