aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/update/pre002472-1-intezmeny.sql
diff options
context:
space:
mode:
authorM.Gergo2019-03-08 21:20:34 +0100
committerM.Gergo2019-03-08 21:20:34 +0100
commitf51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch)
treee13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/update/pre002472-1-intezmeny.sql
parentc76a004b0135786f2742283f8d5f917106f58bd8 (diff)
downloadmayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz
mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip
további rendrakás
Diffstat (limited to 'mayor-orig/update/pre002472-1-intezmeny.sql')
-rw-r--r--mayor-orig/update/pre002472-1-intezmeny.sql37
1 files changed, 0 insertions, 37 deletions
diff --git a/mayor-orig/update/pre002472-1-intezmeny.sql b/mayor-orig/update/pre002472-1-intezmeny.sql
deleted file mode 100644
index 6c1b41fd..00000000
--- a/mayor-orig/update/pre002472-1-intezmeny.sql
+++ /dev/null
@@ -1,37 +0,0 @@
--- jelenleg 2472
-CREATE TABLE `tanmenet` (
- `tanmenetId` int(10) unsigned NOT NULL auto_increment,
- `targyId` smallint(5) unsigned NOT NULL,
- `evfolyam` tinyint(3) unsigned NOT NULL,
- `tanmenetNev` varchar(128),
- `oraszam` smallint unsigned,
- `dt` DATE NOT NULL,
- `tanarId` int(10) unsigned NOT NULL,
- `jovahagyva` tinyint(3) unsigned DEFAULT '0',
- PRIMARY KEY (`tanmenetId`),
- CONSTRAINT `tanmenet_ibfk_1` FOREIGN KEY (`targyId`) REFERENCES `targy` (`targyId`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `tanmenet_ibfk_2` FOREIGN KEY (`tanarId`) REFERENCES `tanar` (`tanarId`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
-
-CREATE TABLE `tanmenetTemakor` (
- `tanmenetId` int(10) unsigned NOT NULL,
- `sorszam` tinyint unsigned NOT NULL,
- `oraszam` tinyint unsigned NOT NULL,
- `temakorMegnevezes` varchar(255),
- PRIMARY KEY (`tanmenetId`, `sorszam` ),
- CONSTRAINT `tanmenetTemakor_ibfk_1` FOREIGN KEY (`tanmenetId`) REFERENCES `tanmenet` (`tanmenetId`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
-
-CREATE TABLE `tanmenetTankor` (
- `tankorId` int(10) unsigned NOT NULL,
- `tanev` smallint(5) unsigned NOT NULL,
- `tanmenetId` int(10) unsigned NOT NULL,
- KEY `tanmenetTankor_FKIndex1` (`tankorId`),
- CONSTRAINT `tanmenetTankor_ibfk_1` FOREIGN KEY (`tankorId`) REFERENCES `tankor` (`tankorId`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `tanmenetTankor_ibfk_2` FOREIGN KEY (`tanmenetId`) REFERENCES `tanmenet` (`tanmenetId`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `tanmenetTankor_ibfk_3` FOREIGN KEY (`tanev`) REFERENCES `szemeszter` (`tanev`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
-
-alter table idoszak modify
- `tipus` enum('zárás','bizonyítvány írás','vizsga','előzetes tárgyválasztás','tárgyválasztás','tankörnévsor módosítás','fogadóóra jelentkezés','tanmenet leadás')
- COLLATE utf8_hungarian_ci DEFAULT NULL; \ No newline at end of file