diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-05 13:17:34 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-05 13:17:34 +1100 |
| commit | b57be65c9f7b9ae4d3259bd309a0f18479780d50 (patch) | |
| tree | 2beba90fb0facc1b78adbc524a9a3c9fbfc433ca /install.sql | |
| parent | 486842e9a1e0a8587de64e62256388cf1e54b7b5 (diff) | |
track cites (remove broken links after a post 404s)
Diffstat (limited to 'install.sql')
| -rw-r--r-- | install.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/install.sql b/install.sql index 1d032114..de6cc0c8 100644 --- a/install.sql +++ b/install.sql @@ -188,6 +188,7 @@ CREATE TABLE IF NOT EXISTS `posts_b` ( `trip` varchar(15) DEFAULT NULL, `capcode` varchar(50) DEFAULT NULL, `body` text NOT NULL, + `body_nomarkup` text DEFAULT NULL, `time` int(11) NOT NULL, `bump` int(11) DEFAULT NULL, `thumb` varchar(50) DEFAULT NULL, @@ -251,6 +252,21 @@ CREATE TABLE IF NOT EXISTS `theme_settings` ( KEY `theme` (`theme`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; +-- -------------------------------------------------------- + +-- +-- Table structure for table `cites` +-- + +CREATE TABLE IF NOT EXISTS `cites` ( + `board` varchar(8) NOT NULL, + `post` int(11) NOT NULL, + `target_board` varchar(8) NOT NULL, + `target` int(11) NOT NULL, + KEY `target` (`target_board`,`target`), + KEY `post` (`board`,`post`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
