summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2016-05-26 21:14:22 -0700
committerVLetrmx <richardipsum@fastmail.co.uk>2016-06-17 18:43:36 +0000
commita458d0d61d1f2b8a4b3f0f5180e9bb7c1cc4a730 (patch)
tree7628ecb01d81ad884006d87ffb1b3f76406db383
parente487ef479e053d45d672658a0607f5004b78cd1f (diff)
downloadlorry-controller-a458d0d61d1f2b8a4b3f0f5180e9bb7c1cc4a730.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)')