From 47254ab8555162bc121c7b618fff42fc64b9454c Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Wed, 11 Apr 2018 20:52:23 +0300
Subject: move db schemas to jdbc project, drop outdated config example

---
 juick-server-jdbc/src/main/resources/update.sql | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 juick-server-jdbc/src/main/resources/update.sql

(limited to 'juick-server-jdbc/src/main/resources/update.sql')

diff --git a/juick-server-jdbc/src/main/resources/update.sql b/juick-server-jdbc/src/main/resources/update.sql
new file mode 100644
index 00000000..13a62c3d
--- /dev/null
+++ b/juick-server-jdbc/src/main/resources/update.sql
@@ -0,0 +1,12 @@
+-- if version table not exists set up version = 0;
+update version set version = 0;
+
+DROP TABLE IF EXISTS `version`;
+
+CREATE TABLE `version` (
+  `version`  bigint NOT NULL
+);
+
+insert into version values (0);
+
+update version set version = 1;
\ No newline at end of file
-- 
cgit v1.2.3

