1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-14 10:57:38 +01:00

SQL dump.

This commit is contained in:
Savetheinternet 2010-11-30 20:50:06 +11:00 committed by Paul Merrill
parent ebc5fae32c
commit 82e961dea9

View File

@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net -- http://www.phpmyadmin.net
-- --
-- Host: 127.0.0.1:3306 -- Host: 127.0.0.1:3306
-- Generation Time: Nov 02, 2010 at 10:06 PM -- Generation Time: Nov 30, 2010 at 08:48 PM
-- Server version: 5.1.48 -- Server version: 5.1.48
-- PHP Version: 5.3.2 -- PHP Version: 5.3.2
@ -21,12 +21,36 @@ SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Table structure for table `boards`
--
CREATE TABLE IF NOT EXISTS `boards` (
`id` smallint(6) NOT NULL AUTO_INCREMENT,
`uri` varchar(8) NOT NULL,
`title` varchar(20) NOT NULL,
`subtitle` varchar(40) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uri` (`uri`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `boards`
--
INSERT INTO `boards` (`id`, `uri`, `title`, `subtitle`) VALUES
(1, 'b', 'Beta', 'In development.');
-- --------------------------------------------------------
-- --
-- Table structure for table `posts` -- Table structure for table `posts`
-- --
CREATE TABLE IF NOT EXISTS `posts` ( CREATE TABLE IF NOT EXISTS `posts` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`board` smallint(6) NOT NULL,
`thread` int(11) DEFAULT NULL, `thread` int(11) DEFAULT NULL,
`subject` varchar(40) NOT NULL, `subject` varchar(40) NOT NULL,
`email` varchar(30) NOT NULL, `email` varchar(30) NOT NULL,