aboutsummaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-06-20 19:39:44 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-06-20 19:39:44 +0200
commit32ad074786f905b919999c1ff2fb7b3993cc7fad (patch)
tree522d8bd3855c7c96d7e756729df8e77b8b66b748 /schema.sql
parent7a8d4d0934cb51c8ad7f7af84669bb0197c7b89e (diff)
server: Database schema version
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql
index 6291102..55fe091 100644
--- a/schema.sql
+++ b/schema.sql
@@ -1,5 +1,9 @@
pragma foreign_keys = on;
+create table Meta (
+ version integer
+);
+
create table Rooms (
id integer primary key,
name text