This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
2018-02-10 18:00:32 +01:00
|
|
|
CREATE TABLE events (
|
|
|
|
`id` INTEGER PRIMARY KEY AUTO_INCREMENT,
|
|
|
|
`name` TEXT,
|
|
|
|
`start` TEXT,
|
|
|
|
`stop` TEXT,
|
|
|
|
`organiser` TEXT,
|
|
|
|
`location` TEXT,
|
|
|
|
`description` TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE projects (
|
|
|
|
`id` INTEGER PRIMARY KEY AUTO_INCREMENT,
|
|
|
|
`name` TEXT,
|
2018-02-24 21:09:15 +01:00
|
|
|
`description` TEXT,
|
2018-02-10 18:00:32 +01:00
|
|
|
`active` BOOLEAN
|
|
|
|
);
|
|
|
|
|
2018-02-24 21:09:15 +01:00
|
|
|
CREATE TABLE projectmembers (
|
|
|
|
`projectid` INTEGER,
|
|
|
|
`name` TEXT,
|
|
|
|
`uname` TEXT,
|
2018-02-26 16:24:50 +01:00
|
|
|
`mail` TEXT,
|
|
|
|
`role` TEXT,
|
|
|
|
`lead` BOOLEAN DEFAULT 0,
|
|
|
|
`owner` BOOLEAN DEFAULT 0
|
|
|
|
);
|
2018-02-24 21:09:15 +01:00
|
|
|
|
2018-02-10 18:00:32 +01:00
|
|
|
CREATE TABLE users (
|
|
|
|
`uname` TEXT,
|
|
|
|
`groups` INT DEFAULT 0
|
|
|
|
);
|
2018-02-24 19:20:34 +01:00
|
|
|
|
|
|
|
CREATE TABLE motd (
|
|
|
|
`title` TEXT,
|
|
|
|
`content` TEXT
|
|
|
|
);
|