diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 20:50:06 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 20:50:06 +1100 |
| commit | 0d5a7b7bd70dd054e7ed9eb149bcd9bcfde5a398 (patch) | |
| tree | a2a0a460a876738ee7ef4936476e953067111ba1 /install.sql | |
| parent | fc00840004352471bdbbb1a3105bc55d913119ef (diff) | |
SQL dump.
Diffstat (limited to 'install.sql')
| -rw-r--r-- | install.sql | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/install.sql b/install.sql index 5f704277..c517bdfc 100644 --- a/install.sql +++ b/install.sql @@ -3,7 +3,7 @@ -- http://www.phpmyadmin.net -- -- 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 -- PHP Version: 5.3.2 @@ -22,11 +22,35 @@ 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` -- CREATE TABLE IF NOT EXISTS `posts` ( `id` int(11) NOT NULL AUTO_INCREMENT, + `board` smallint(6) NOT NULL, `thread` int(11) DEFAULT NULL, `subject` varchar(40) NOT NULL, `email` varchar(30) NOT NULL, |
