From c20c0b6ddec3272452e5d2d98a2c1d96f98ea612 Mon Sep 17 00:00:00 2001 From: James Greenhill Date: Fri, 15 Sep 2023 15:03:40 -0700 Subject: [PATCH] chore: make table optional for DRF PATCH and POST --- housewatch/models/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/housewatch/models/backup.py b/housewatch/models/backup.py index c11dd37..b512b00 100644 --- a/housewatch/models/backup.py +++ b/housewatch/models/backup.py @@ -17,7 +17,7 @@ class ScheduledBackup(models.Model): # This will be a CRON expression for the job schedule: models.CharField = models.CharField(max_length=255) incremental_schedule: models.CharField = models.CharField(max_length=255, null=True) - table: models.CharField = models.CharField(max_length=255, null=True) + table: models.CharField = models.CharField(max_length=255, null=True, blank=True) database: models.CharField = models.CharField(max_length=255) cluster: models.CharField = models.CharField(max_length=255, null=True) bucket: models.CharField = models.CharField(max_length=255)