From c3cbdd8305d2c46a6a18fc4f1fcc3a3f3f127029 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Mon, 16 Mar 2020 23:29:28 +0100 Subject: Rev: 4620 --- mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mayor-orig/mayor-naplo/install') 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 ad1abcff..eeaca556 100644 --- a/mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql +++ b/mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql @@ -143,6 +143,15 @@ CREATE TABLE `ora` ( CONSTRAINT `ora_ibfk_5` FOREIGN KEY (`feladatTipusId`) REFERENCES `%DB%`.`feladatTipus` (`feladatTipusId`) ON DELETE SET NULL ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci ; +CREATE TABLE `oraHazifeladat` ( + `hazifeladatId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `oraId` int(10) unsigned DEFAULT NULL, + `hazifeladatLeiras` text COLLATE utf8_hungarian_ci NOT NULL, + PRIMARY KEY (`hazifeladatId`), + UNIQUE KEY `oraId` (`oraId`), + 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 `orarendiOraTankor` ( `tanarId` int(10) unsigned NOT NULL, `osztalyJel` varchar(7) COLLATE utf8_bin NOT NULL, -- cgit v1.2.3