summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2016-05-26 21:14:22 -0700
committerBen Brown <ben.brown@codethink.co.uk>2016-06-17 16:23:42 +0100
commit3ff8e0ba7a1e1f1a2ae96189ec2cf28ceb4e19c7 (patch)
tree7628ecb01d81ad884006d87ffb1b3f76406db383
parentf81fdae15bc29f27f3f2e43344db927a4dc4ec5c (diff)
downloadlorry-controller-3ff8e0ba7a1e1f1a2ae96189ec2cf28ceb4e19c7.tar.gz
Remove unused version table
Change-Id: Id79d4d05a5cabd7f7a634dd0decdee6bd4005f29
-rw-r--r--lorrycontroller/statedb.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lorrycontroller/statedb.py b/lorrycontroller/statedb.py
index 4b00db0..1b885d9 100644
--- a/lorrycontroller/statedb.py
+++ b/lorrycontroller/statedb.py
@@ -95,10 +95,6 @@ class StateDB(object):
logging.debug('Initialising tables in database')
c = self._conn.cursor()
- # Table for storing database schema version.
- c.execute('CREATE TABLE version (running INT)')
- c.execute('INSERT INTO version VALUES (1)')
-
# Table for holding the "are we scheduling jobs" value.
c.execute('CREATE TABLE running_queue (running INT)')
c.execute('INSERT INTO running_queue VALUES (1)')