Skip to content

Commit

Permalink
Moving the SQL out of the userguide.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveWid committed Dec 12, 2011
1 parent a88cd56 commit 20cbb05
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 46 deletions.
6 changes: 3 additions & 3 deletions data/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ INSERT INTO `categories` (`category_id`, `slug`, `display`) VALUES
(1, 'uncategorized', 'Uncategorized');

CREATE TABLE `post` (
`post_id` int(10) unsigned NOT NULL auto_increment,
`post_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`slug` varchar(255) NOT NULL,
`content` text NOT NULL,
`posted_date` date NOT NULL,
PRIMARY KEY (`post_id`)
`posted_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`post_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

INSERT INTO `posts` (`post_id`, `title`, `slug`, `contents`, `posted_date`) VALUES
Expand Down
42 changes: 0 additions & 42 deletions guide/soapbox/database.md

This file was deleted.

4 changes: 4 additions & 0 deletions guide/soapbox/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Soapbox is a drop-in blogging module for Kohana 3.0+.

## Setup

After activating the soapbox module please run the `MODPATH/soapbox/data/schema.sql` to setup the database tables needed for this module.

---

Developed by [Dave Widmer](http://www.davewidmer.net)
1 change: 0 additions & 1 deletion guide/soapbox/menu.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
## [Soapbox]()
- [Database Setup](database)
- [Configuration](config)
- [Built-in Routes](routes)
- [Administration](admin)
Expand Down

0 comments on commit 20cbb05

Please sign in to comment.