aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/install/module-naplo/mysql
diff options
context:
space:
mode:
authorM.Gergo2020-03-23 01:17:58 +0100
committerM.Gergo2020-03-23 01:17:58 +0100
commit31bf036be3be01ef7b3bbc9dc08813f0740dab9a (patch)
treef149b4cd7ee31e5e85b20e9b2e6317af6e7ae465 /mayor-orig/mayor-naplo/install/module-naplo/mysql
parenta7992b5395dab0da64527b8cc6357709196663d2 (diff)
downloadmayor-31bf036be3be01ef7b3bbc9dc08813f0740dab9a.tar.gz
mayor-31bf036be3be01ef7b3bbc9dc08813f0740dab9a.zip
Rev: 4630rev4630
Diffstat (limited to 'mayor-orig/mayor-naplo/install/module-naplo/mysql')
-rw-r--r--mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql14
1 files changed, 14 insertions, 0 deletions
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,