updated DB schema files

parent 1fe5273a
...@@ -676,6 +676,55 @@ LOCK TABLES `tpesurvey` WRITE; ...@@ -676,6 +676,55 @@ LOCK TABLES `tpesurvey` WRITE;
/*!40000 ALTER TABLE `tpesurvey` ENABLE KEYS */; /*!40000 ALTER TABLE `tpesurvey` ENABLE KEYS */;
UNLOCK TABLES; UNLOCK TABLES;
--
-- Table structure for table `volunteerteachers`
--
DROP TABLE IF EXISTS `volunteerteachers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `volunteerteachers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`surname` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`eidikothta` int(11) UNSIGNED,
`arithmitroou` int(11) NOT NULL,
`telef` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`school` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`schooltelef` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`projectdescription` text COLLATE utf8mb4_unicode_ci,
`comments` text COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
ALTER TABLE `volunteerteachers` ADD CONSTRAINT `fk_branch_id` FOREIGN KEY (`eidikothta`) REFERENCES `branch`(`id`) ON DELETE RESTRICT ON UPDATE CASCADE;
--
-- Table structure for table `univ`
--
DROP TABLE IF EXISTS `univ`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `univ` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ereunitiko` varchar(191) COLLATE utf8mb4_unicode_ci,
`institute` varchar(191) COLLATE utf8mb4_unicode_ci,
`other` varchar(191) COLLATE utf8mb4_unicode_ci,
`idrima` varchar(191) COLLATE utf8mb4_unicode_ci,
`sxolh` varchar(191) COLLATE utf8mb4_unicode_ci,
`tmhma` varchar(191) COLLATE utf8mb4_unicode_ci,
`person` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`telef` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`erga` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`projectdescription` text COLLATE utf8mb4_unicode_ci,
`comments` text COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
......
--
-- Table structure for table `volunteerteachers` -- Table structure for table `volunteerteachers`
-- --
DROP TABLE IF EXISTS `volunteerteachers`; DROP TABLE IF EXISTS `volunteerteachers`;
CREATE TABLE IF NOT EXISTS `volunteerteachers` ( /*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `volunteerteachers` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`surname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `surname` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`eidikothta` int(11) NOT NULL, `eidikothta` int(11) UNSIGNED,
`arithmitroou` int(11) NOT NULL, `arithmitroou` int(11) NOT NULL,
`telef` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `telef` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`school` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `school` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`schooltelef` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `schooltelef` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`comments` text NOT NULL, `projectdescription` text COLLATE utf8mb4_unicode_ci,
`projecttitle` varchar(255), `comments` text COLLATE utf8mb4_unicode_ci NOT NULL,
`projecturl` varchar(255),
`projectdescription` text,
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;; ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
ALTER TABLE `volunteerteachers` ADD CONSTRAINT `fk_branch_id` FOREIGN KEY (`eidikothta`) REFERENCES `branch`(`id`) ON DELETE RESTRICT ON UPDATE CASCADE;
\ No newline at end of file
-- Table structure for table `univ`
--
DROP TABLE IF EXISTS `univ`;
--
-- Table structure for table `univ`
--
CREATE TABLE IF NOT EXISTS `univ` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`idrima` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`sxolh` varchar(191) COLLATE utf8mb4_unicode_ci,
`tmhma` varchar(191) COLLATE utf8mb4_unicode_ci,
`person` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`telef` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`comments` text COLLATE utf8mb4_unicode_ci NOT NULL,
`erga` varchar(191)COLLATE utf8mb4_unicode_ci,
`projectdescription` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `volunteerteachers`;
CREATE TABLE IF NOT EXISTS `volunteerteachers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`surname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`eidikothta` int(11) NOT NULL,
`arithmitroou` int(11) NOT NULL,
`telef` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`school` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`schooltelef` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`comments` text NOT NULL,
`projectdescription` text,
PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Table structure for table `univ`
--
DROP TABLE IF EXISTS `univ`;
-- --
-- Table structure for table `univ` -- Table structure for table `univ`
-- --
CREATE TABLE IF NOT EXISTS `univ` ( DROP TABLE IF EXISTS `univ`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `univ` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`idrima` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `ereunitiko` varchar(191) COLLATE utf8mb4_unicode_ci,
`institute` varchar(191) COLLATE utf8mb4_unicode_ci,
`other` varchar(191) COLLATE utf8mb4_unicode_ci,
`idrima` varchar(191) COLLATE utf8mb4_unicode_ci,
`sxolh` varchar(191) COLLATE utf8mb4_unicode_ci, `sxolh` varchar(191) COLLATE utf8mb4_unicode_ci,
`tmhma` varchar(191) COLLATE utf8mb4_unicode_ci, `tmhma` varchar(191) COLLATE utf8mb4_unicode_ci,
`person` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `person` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`telef` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `telef` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`erga` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`projectdescription` text COLLATE utf8mb4_unicode_ci,
`comments` text COLLATE utf8mb4_unicode_ci NOT NULL, `comments` text COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment