2017-10-22 17:57:55 +02:00
|
|
|
CREATE TABLE "events" (
|
|
|
|
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
|
|
"name" TEXT,
|
|
|
|
"start" TEXT,
|
|
|
|
"stop" TEXT,
|
|
|
|
"organiser" TEXT,
|
|
|
|
"location" TEXT,
|
|
|
|
"description" TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE "projects" (
|
|
|
|
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
|
|
"name" TEXT,
|
|
|
|
"owner" TEXT,
|
|
|
|
"owneruname" TEXT,
|
|
|
|
"description" TEXT,
|
|
|
|
"active" BOOLEAN
|
2017-11-11 17:00:08 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE "users" (
|
|
|
|
"uname" TEXT,
|
|
|
|
"groups" INT DEFAULT 0
|
2018-02-13 16:58:54 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE "motd" (
|
|
|
|
"title" TEXT,
|
|
|
|
"content" TEXT
|
2017-10-22 17:57:55 +02:00
|
|
|
);
|