Add MOTD table to SQL schema
This commit is contained in:
parent
5412414ce1
commit
2a3f0d7be7
|
@ -13,6 +13,7 @@ CREATE TABLE "projects" (
|
||||||
"name" TEXT,
|
"name" TEXT,
|
||||||
"owner" TEXT,
|
"owner" TEXT,
|
||||||
"owneruname" TEXT,
|
"owneruname" TEXT,
|
||||||
|
"owneremail" TEXT,
|
||||||
"description" TEXT,
|
"description" TEXT,
|
||||||
"active" BOOLEAN
|
"active" BOOLEAN
|
||||||
);
|
);
|
||||||
|
@ -22,5 +23,10 @@ CREATE TABLE "users" (
|
||||||
"groups" INT DEFAULT 0
|
"groups" INT DEFAULT 0
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE "motd" (
|
||||||
|
"title" TEXT,
|
||||||
|
"content" TEXT
|
||||||
|
);
|
||||||
|
|
||||||
INSERT INTO users (uname, groups)
|
INSERT INTO users (uname, groups)
|
||||||
VALUES ("min_test_bruker", 1);
|
VALUES ("min_test_bruker", 1);
|
||||||
|
|
|
@ -21,3 +21,8 @@ CREATE TABLE users (
|
||||||
`uname` TEXT,
|
`uname` TEXT,
|
||||||
`groups` INT DEFAULT 0
|
`groups` INT DEFAULT 0
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE motd (
|
||||||
|
`title` TEXT,
|
||||||
|
`content` TEXT
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in New Issue