From bcd05473466fecdec83ddba11f323c7b6cdcc497 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20St=C3=A4hr?= <software@mstaehr.net>
Date: Sat, 16 Jun 2018 19:57:33 +0200
Subject: [PATCH] fix: add missing database fields to user

---
 gemeinsamforschen/src/scripts/dbschema/fltrail.sql | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gemeinsamforschen/src/scripts/dbschema/fltrail.sql b/gemeinsamforschen/src/scripts/dbschema/fltrail.sql
index ee7f5ec1..372f245e 100644
--- a/gemeinsamforschen/src/scripts/dbschema/fltrail.sql
+++ b/gemeinsamforschen/src/scripts/dbschema/fltrail.sql
@@ -30,10 +30,12 @@ CREATE TABLE if not exists `tags` (
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
 CREATE TABLE if not exists `users` (
-  `name` varchar(400) NOT NULL,
-  `password` varchar(200) NOT NULL,
-  `email` varchar(400) NOT NULL,
-  `token` varchar(800) NOT NULL
+  `name`                varchar(400) NOT NULL,
+  `password`            varchar(200) NOT NULL,
+  `email`               varchar(400) NOT NULL,
+  `token`               varchar(800) NOT NULL,
+  `rocketChatId`        varchar(400) NOT NULL,
+  `rocketChatAuthToken` varchar(800) NOT NULL
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
 CREATE TABLE if not exists projectuser
-- 
GitLab