Add expiration time for admin messages (#39502)

* add expiration time for messages

* typo

* fix

* src to usr

* allows removing expiry from existing messages

* cancel button
This commit is contained in:
Jordie
2018-08-12 06:31:14 +10:00
committed by GitHub
parent c63cbdce2d
commit 31f020f3cc
8 changed files with 121 additions and 22 deletions
+1
View File
@@ -253,6 +253,7 @@ CREATE TABLE `SS13_messages` (
`server_port` smallint(5) unsigned NOT NULL,
`round_id` int(11) unsigned NOT NULL,
`secret` tinyint(1) unsigned NOT NULL,
`expire_timestamp` datetime DEFAULT NULL,
`lasteditor` varchar(32) DEFAULT NULL,
`edits` text,
`deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',