From 62bdcb6cd6b3b1eb83b34e82d5e9079c12733ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 31 Oct 2021 17:02:43 +0100 Subject: [PATCH] last_scaled may not be null It defaults to the creation timestamp --- src/runboat/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runboat/db.py b/src/runboat/db.py index 0b5ed92..08bab71 100644 --- a/src/runboat/db.py +++ b/src/runboat/db.py @@ -38,7 +38,7 @@ class BuildsDb: " desired_replicas INTEGER NOT NULL," " status TEXT NOT NULL, " " init_status TEXT NOT NULL, " - " last_scaled TEXT, " + " last_scaled TEXT NOT NULL, " " created TEXT NOT NULL" ")" )