--
-- Host: 127.0.0.1    Database: imhs5
-- ------------------------------------------------------


--
-- Table structure for table `doc_files`
--

CREATE TABLE `doc_files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `file` mediumtext,
  `description` varchar(500) DEFAULT NULL,
  `hash` varchar(100) DEFAULT NULL,
  `parent_folder_id` int(11) DEFAULT NULL,
  `ownerid` int(11) DEFAULT NULL,
  `file_type` varchar(50) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `created` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `doc_files`
--


--
-- Table structure for table `doc_settings`
--

CREATE TABLE `doc_settings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `upload_path` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `doc_settings`
--

INSERT INTO `doc_settings` VALUES (1,'files');

--
-- Table structure for table `doc_users`
--

CREATE TABLE `doc_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `email` varchar(100) DEFAULT NULL,
  `password` varchar(50) DEFAULT NULL,
  `usertype` varchar(50) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `doc_users`
--

INSERT INTO `doc_users` VALUES (1,'admin@test.com','admin','admin',NULL),(2,'user@test.com','user','user','Sergey Kornilov');

--
-- Dumping events for database 'imhs5'
--

--
-- Dumping routines for database 'imhs5'
--


