summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-09-19 19:33:24 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-09-19 19:45:02 +0200
commite6ed8a30171b86b452cec21a283373fc14dd5330 (patch)
treeac50aa8118686421cce0e5970657095d3a2fde73 /db
parentb3b65743cdc534f7632c8e04e80d3489eec9677c (diff)
Changed LogEntries table: Use log level instead of nick name
Diffstat (limited to 'db')
-rw-r--r--db/update.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/update.sql b/db/update.sql
index 5d93e230..3ed37ceb 100644
--- a/db/update.sql
+++ b/db/update.sql
@@ -28,3 +28,6 @@ UPDATE `Groups` SET UID = UID * 10;
INSERT INTO `Groups` (Name, UID) VALUES ('News Admin', -65);
INSERT INTO `Privileges` (id, name, `desc`) VALUES (42, 'admin_news_html', 'Use HTML in news');
INSERT INTO `GroupPrivileges` (group_id, privilege_id) VALUES (-65, 14), (-65, 42);
+
+-- Add log level to LogEntries
+ALTER TABLE `LogEntries` CHANGE COLUMN `nick` `level` VARCHAR(20) NOT NULL;