From 31bf036be3be01ef7b3bbc9dc08813f0740dab9a Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Mon, 23 Mar 2020 01:17:58 +0100 Subject: Rev: 4630 --- .../mayor-naplo/install/module-naplo/mysql/tanev.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'mayor-orig/mayor-naplo/install/module-naplo') diff --git a/mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql b/mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql index eeaca556..59ee0c39 100644 --- a/mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql +++ b/mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql @@ -152,6 +152,20 @@ CREATE TABLE `oraHazifeladat` ( CONSTRAINT `oraHazifeladat_ibfk_1` FOREIGN KEY (`oraId`) REFERENCES `ora` (`oraId`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; +CREATE TABLE `oraHazifeladatDiak` ( + `hazifeladatId` int(10) unsigned NOT NULL DEFAULT '0', + `diakId` int(10) unsigned NOT NULL DEFAULT '0', + `diakLattamDt` datetime DEFAULT NULL, + `tanarLattamDt` datetime DEFAULT NULL, + `hazifeladatDiakStatus` enum('','kész') COLLATE utf8_hungarian_ci DEFAULT '', + `hazifeladatDiakMegjegyzes` varchar(255) COLLATE utf8_hungarian_ci NOT NULL, + PRIMARY KEY (`hazifeladatId`,`diakId`), + UNIQUE KEY `oraHazifeladatDiak_UK` (`hazifeladatId`,`diakId`), + KEY `oraHazifeladatDiak_ibfk_2` (`diakId`), + CONSTRAINT `oraHazifeladatDiak_ibfk_1` FOREIGN KEY (`hazifeladatId`) REFERENCES `oraHazifeladat` (`hazifeladatId`) ON DELETE CASCADE ON UPDATE CASCADE, + CONSTRAINT `oraHazifeladatDiak_ibfk_2` FOREIGN KEY (`diakId`) REFERENCES `%DB%`.`diak` (`diakId`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; + CREATE TABLE `orarendiOraTankor` ( `tanarId` int(10) unsigned NOT NULL, `osztalyJel` varchar(7) COLLATE utf8_bin NOT NULL, -- cgit v1.2.3