seinheit.ch/config/dbinit.sql
2013-07-08 21:52:39 +02:00

35 lines
903 B
SQL

/*!40101 SET NAMES utf8 */;
--
-- Table structure for table `navigation`
--
DROP TABLE IF EXISTS `navigation`;
CREATE TABLE `navigation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`controller` varchar(64) DEFAULT NULL,
`action` varchar(64) DEFAULT NULL,
`link` varchar(255) DEFAULT NULL,
`parent_id` int(11) DEFAULT NULL,
`active` tinyint(1) NOT NULL DEFAULT '1',
`sorting` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=69 DEFAULT CHARSET=utf8;
--
-- Table structure for table `page`
--
DROP TABLE IF EXISTS `page`;
CREATE TABLE `page` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(256) NOT NULL,
`subtitle` varchar(256) NOT NULL,
`url` varchar(256) NOT NULL,
`content` text NOT NULL,
`active` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=36 DEFAULT CHARSET=utf8;