summaryrefslogtreecommitdiff
path: root/sbhs_server/tables/models.py
diff options
context:
space:
mode:
authorcoderick142017-06-09 17:46:43 +0530
committercoderick142017-06-09 17:46:43 +0530
commita687695369d717a5cf595e7d24f49218f591a248 (patch)
tree1983fbb435d7bddead473d51af57f475dcd6dbff /sbhs_server/tables/models.py
parent18e7e8641f001766b52460982ab8ed75a3219ffb (diff)
downloadSBHS-2018-Rpi-a687695369d717a5cf595e7d24f49218f591a248.tar.gz
SBHS-2018-Rpi-a687695369d717a5cf595e7d24f49218f591a248.tar.bz2
SBHS-2018-Rpi-a687695369d717a5cf595e7d24f49218f591a248.zip
Add column temp_offline to Boards model
Diffstat (limited to 'sbhs_server/tables/models.py')
-rw-r--r--sbhs_server/tables/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbhs_server/tables/models.py b/sbhs_server/tables/models.py
index c25a6d2..8c720b5 100644
--- a/sbhs_server/tables/models.py
+++ b/sbhs_server/tables/models.py
@@ -13,6 +13,7 @@ class Board(TrashableMixin):
mid = models.IntegerField(unique=True)
online = models.BooleanField(default=True)
+ temp_offline = models.BooleanField(default=False)
created_at = models.DateTimeField(auto_now_add=True, editable=False)
updated_at = models.DateTimeField(auto_now=True, editable=False)