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