SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
-- --------------------------------------------------------
-- Table structure for table `company`
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`company` varchar(255) NOT NULL,
`contact` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`phone` varchar(64) NOT NULL,
`mobile` varchar(64) NOT NULL,
`url` varchar(255) NOT NULL,
`address` varchar(255) NOT NULL,
`zip` varchar(16) NOT NULL,
`city` varchar(255) NOT NULL,
`country` varchar(255) NOT NULL,
`state` varchar(255) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `customers_assigned`
CREATE TABLE `customers_assigned` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`customer` int(10) NOT NULL,
`project` int(10) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `files`
`ID` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`desc` varchar(255) NOT NULL DEFAULT '',
`project` int(10) NOT NULL DEFAULT '0',
`milestone` int(10) NOT NULL DEFAULT '0',
`user` int(10) NOT NULL DEFAULT '0',
`added` varchar(255) NOT NULL DEFAULT '',
`datei` varchar(255) NOT NULL DEFAULT '',
`type` varchar(255) NOT NULL DEFAULT '',
`title` varchar(255) NOT NULL DEFAULT '',
`folder` int(10) NOT NULL,
KEY `project` (`project`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `files_attached`
CREATE TABLE `files_attached` (
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`file` int(10) unsigned NOT NULL DEFAULT '0',
`message` int(10) unsigned NOT NULL DEFAULT '0',
KEY `file` (`file`,`message`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `log`
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user` int(10) NOT NULL DEFAULT '0',
`username` varchar(255) NOT NULL DEFAULT '',
`name` varchar(255) NOT NULL DEFAULT '',
`type` varchar(255) NOT NULL DEFAULT '',
`action` int(1) NOT NULL DEFAULT '0',
`project` int(10) NOT NULL DEFAULT '0',
`datum` varchar(255) NOT NULL DEFAULT '',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `log`
(1, 0, '', '[[admin_username]]', 'user', 1, 0, '[[timestamp]]');
-- --------------------------------------------------------
-- Table structure for table `messages`
CREATE TABLE `messages` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`project` int(10) NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`tags` varchar(255) NOT NULL,
`posted` varchar(255) NOT NULL DEFAULT '',
`user` int(10) NOT NULL DEFAULT '0',
`username` varchar(255) NOT NULL DEFAULT '',
`replyto` int(11) NOT NULL DEFAULT '0',
`milestone` int(10) NOT NULL,
KEY `project` (`project`),
KEY `replyto` (`replyto`),
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `messages_assigned`
CREATE TABLE `messages_assigned` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`message` int(10) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `milestones`
CREATE TABLE `milestones` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`project` int(10) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`start` varchar(255) NOT NULL DEFAULT '',
`end` varchar(255) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
KEY `project` (`project`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `milestones_assigned`
CREATE TABLE `milestones_assigned` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user` int(10) NOT NULL DEFAULT '0',
`milestone` int(10) NOT NULL DEFAULT '0',
KEY `milestone` (`milestone`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `projectfolders`
CREATE TABLE `projectfolders` (
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent` int(10) unsigned NOT NULL DEFAULT '0',
`project` int(11) NOT NULL DEFAULT '0',
`description` varchar(255) NOT NULL,
KEY `project` (`project`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `projekte`
CREATE TABLE `projekte` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`start` varchar(255) NOT NULL DEFAULT '',
`end` varchar(255) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
`budget` float NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `projekte_assigned`
CREATE TABLE `projekte_assigned` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user` int(10) NOT NULL DEFAULT '0',
`projekt` int(10) NOT NULL DEFAULT '0',
KEY `projekt` (`projekt`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `roles`
`ID` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`projects` text NOT NULL,
`milestones` text NOT NULL,
`messages` text NOT NULL,
`timetracker` text NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
-- Dumping data for table `roles`
INSERT INTO `roles` VALUES
(1, 'Admin', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:5:"close";i:1;s:4:"view";i:1;}', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:5:"close";i:1;s:4:"view";i:1;}', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:5:"close";i:1;s:4:"view";i:1;}', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:5:"close";i:1;s:4:"view";i:1;}', 'a:4:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:4:"view";i:1;}', 'a:1:{s:3:"add";i:1;}', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:4:"read";i:1;s:4:"view";i:1;}', 'a:1:{s:3:"add";i:1;}'),
(2, 'User', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:0;s:5:"close";i:0;s:4:"view";i:1;}', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:0;s:5:"close";i:1;s:4:"view";i:1;}', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:5:"close";i:1;s:4:"view";i:1;}', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:5:"close";i:1;s:4:"view";i:1;}', 'a:4:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:4:"view";i:1;}', 'a:1:{s:3:"add";i:1;}', 'a:5:{s:3:"add";i:1;s:4:"edit";i:1;s:3:"del";i:1;s:4:"read";i:0;s:4:"view";i:1;}', 'a:1:{s:3:"add";i:0;}'),
(3, 'Client', 'a:5:{s:3:"add";i:0;s:4:"edit";i:0;s:3:"del";i:0;s:5:"close";i:0;s:4:"view";i:0;}', 'a:5:{s:3:"add";i:0;s:4:"edit";i:0;s:3:"del";i:0;s:5:"close";i:0;s:4:"view";i:1;}', 'a:5:{s:3:"add";i:0;s:4:"edit";i:0;s:3:"del";i:0;s:5:"close";i:0;s:4:"view";i:0;}', 'a:5:{s:3:"add";i:0;s:4:"edit";i:0;s:3:"del";i:0;s:5:"close";i:0;s:4:"view";i:0;}', 'a:4:{s:3:"add";i:0;s:4:"edit";i:0;s:3:"del";i:0;s:4:"view";i:1;}', 'a:1:{s:3:"add";i:0;}', 'a:5:{s:3:"add";i:0;s:4:"edit";i:0;s:3:"del";i:0;s:4:"read";i:0;s:4:"view";i:0;}', 'a:1:{s:3:"add";i:0;}');
-- --------------------------------------------------------
-- Table structure for table `roles_assigned`
CREATE TABLE `roles_assigned` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `roles_assigned`
INSERT INTO `roles_assigned` VALUES
-- --------------------------------------------------------
-- Table structure for table `settings`
CREATE TABLE `settings` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`settingsKey` varchar(50) NOT NULL,
`settingsValue` varchar(50) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ;
-- Dumping data for table `settings`
INSERT INTO `settings` VALUES
(1, 'name', '[[site_name]]'),
(2, 'subtitle', '[[site_desc]]'),
(3, 'locale', '[[language]]'),
(4, 'timezone', 'Europe/Berlin'),
(5, 'dateformat', 'd.m.Y'),
(6, 'template', 'standard'),
(8, 'mailfrom', '[[admin_email]]'),
(10, 'mailmethod', 'mail'),
(16, 'theme', 'standard'),
(17, 'filePass', '[[filePass]]');
-- --------------------------------------------------------
-- Table structure for table `tasklist`
CREATE TABLE `tasklist` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`project` int(10) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`start` varchar(255) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
`access` tinyint(4) NOT NULL DEFAULT '0',
`milestone` int(10) NOT NULL DEFAULT '0',
KEY `milestone` (`milestone`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `tasks`
`ID` int(10) NOT NULL AUTO_INCREMENT,
`start` varchar(255) NOT NULL DEFAULT '',
`end` varchar(255) NOT NULL DEFAULT '',
`title` varchar(255) NOT NULL DEFAULT '',
`liste` int(10) NOT NULL DEFAULT '0',
`status` tinyint(1) NOT NULL DEFAULT '0',
`project` int(10) NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `tasks_assigned`
CREATE TABLE `tasks_assigned` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user` int(10) NOT NULL DEFAULT '0',
`task` int(10) NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `timetracker`
CREATE TABLE `timetracker` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`user` int(10) NOT NULL DEFAULT '0',
`project` int(10) NOT NULL DEFAULT '0',
`task` int(10) NOT NULL DEFAULT '0',
`started` varchar(255) NOT NULL DEFAULT '',
`ended` varchar(255) NOT NULL DEFAULT '',
`hours` float NOT NULL DEFAULT '0',
`pstatus` tinyint(1) NOT NULL DEFAULT '0',
KEY `user` (`user`,`project`,`task`),
KEY `started` (`started`),
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `user`
`ID` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT '',
`email` varchar(255) DEFAULT '',
`tel1` varchar(255) DEFAULT NULL,
`tel2` varchar(255) DEFAULT NULL,
`pass` varchar(255) DEFAULT '',
`company` varchar(255) DEFAULT '',
`lastlogin` varchar(255) DEFAULT '',
`zip` varchar(10) DEFAULT NULL,
`gender` char(1) DEFAULT '',
`url` varchar(255) DEFAULT '',
`adress` varchar(255) DEFAULT '',
`adress2` varchar(255) DEFAULT '',
`state` varchar(255) DEFAULT '',
`country` varchar(255) DEFAULT '',
`tags` varchar(255) DEFAULT '',
`locale` varchar(6) DEFAULT '',
`avatar` varchar(255) DEFAULT '',
`rate` varchar(10) DEFAULT NULL,
UNIQUE KEY `name` (`name`),
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `user`
INSERT INTO `user` VALUES
(1, '[[admin_username]]', '[[admin_email]]', NULL, NULL, '[[admin_pass]]', '', '', NULL, '', '', '', '', '', '', '', '[[language]]', '', '0');
/*!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 */;