From 2921570e0cd069401055dabd78d55ef7623a16e2 Mon Sep 17 00:00:00 2001 From: kanoi Date: Wed, 18 Jun 2014 09:28:42 +1000 Subject: [PATCH] ckdb.sql - store a version in the db --- sql/ckdb.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sql/ckdb.sql b/sql/ckdb.sql index 6cc471e5..0d361aba 100644 --- a/sql/ckdb.sql +++ b/sql/ckdb.sql @@ -344,3 +344,11 @@ CREATE TABLE poolstats ( PRIMARY KEY (poolinstance, createdate) ); + +CREATE TABLE version ( + vlock integer NOT NULL, + version character varying(256) NOT NULL, + PRIMARY KEY (vlock) +); + +insert into version (vlock,version) values (1,'0.1');