mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 01:57:01 +00:00
migrates admin memos to use database
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
19 July 2015, by Jordie0608
|
||||
|
||||
Added new table 'memo' for use with admin memos.
|
||||
|
||||
To create this new table run the following command:
|
||||
|
||||
CREATE TABLE `memo` (`id` int(11) NOT NULL AUTO_INCREMENT, `ckey` varchar(32) NOT NULL, `memotext` text NOT NULL, `timestamp` datetime NOT NULL, `last_editor` varchar(32), `edits` text, PRIMARY KEY (`id`))
|
||||
|
||||
Remember to add prefix to the table name if you use them.
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
7 July 2015, by MrStonedOne
|
||||
|
||||
Removed the privacy poll and related table. Existing codebases may safely delete the privacy table after updating:
|
||||
|
||||
@@ -321,4 +321,23 @@ CREATE TABLE `watch` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `memo`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `memo`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `memo` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`ckey` varchar(32) NOT NULL,
|
||||
`memotext` text NOT NULL,
|
||||
`timestamp` datetime NOT NULL,
|
||||
`last_editor` varchar(32),
|
||||
`edits` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
|
||||
-- Dump completed on 2013-03-24 18:02:35
|
||||
|
||||
@@ -316,4 +316,23 @@ CREATE TABLE `SS13_watch` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `SS13_memo`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `SS13_memo`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `SS13_memo` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`ckey` varchar(32) NOT NULL,
|
||||
`memotext` text NOT NULL,
|
||||
`timestamp` datetime NOT NULL,
|
||||
`last_editor` varchar(32),
|
||||
`edits` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
|
||||
-- Dump completed on 2013-03-24 18:02:35
|
||||
|
||||
Reference in New Issue
Block a user