It now won't require there to be at least one entry in the motd table.
I also tidied up the motd class
This commit is contained in:
2018-08-06 23:26:29 +02:00
parent 29ac0ece7e
commit 32cc4ec27f
5 changed files with 40 additions and 12 deletions

1
dist/pvv_mysql.sql vendored
View File

@@ -31,6 +31,7 @@ CREATE TABLE users (
);
CREATE TABLE motd (
`id` INTEGER PRIMARY KEY AUTO_INCREMENT,
`title` TEXT,
`content` TEXT
);