diff options
author | M.Gergo | 2019-10-27 02:17:37 +0100 |
---|---|---|
committer | M.Gergo | 2019-10-27 02:17:37 +0100 |
commit | abd8cfdf391410090842081422f711779978f473 (patch) | |
tree | 134baa4655481da13d00e2315860c16e877851d7 /mayor-orig/mayor-naplo/install/module-naplo/mysql | |
parent | 6d684ff9fb3caf8de057829bda27995d5d9de361 (diff) | |
download | mayor-rev4554.tar.gz mayor-rev4554.zip |
Rev: 4554rev4554
Diffstat (limited to 'mayor-orig/mayor-naplo/install/module-naplo/mysql')
-rw-r--r-- | mayor-orig/mayor-naplo/install/module-naplo/mysql/intezmeny.sql | 2 | ||||
-rw-r--r-- | mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mayor-orig/mayor-naplo/install/module-naplo/mysql/intezmeny.sql b/mayor-orig/mayor-naplo/install/module-naplo/mysql/intezmeny.sql index bc766bbd..c761440e 100644 --- a/mayor-orig/mayor-naplo/install/module-naplo/mysql/intezmeny.sql +++ b/mayor-orig/mayor-naplo/install/module-naplo/mysql/intezmeny.sql @@ -239,7 +239,9 @@ CREATE TABLE `targy` ( `zaroKovetelmeny` enum('jegy','magatartás','szorgalom','négyszintű (szöveges minősítés)','féljegy','százalékos','aláírás','háromszintű','egyedi felsorolás','szöveges szempontrendszer','teljesített óra') COLLATE utf8_hungarian_ci DEFAULT 'jegy', `targyRovidNev` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, `kirTargyId` smallint(5) unsigned DEFAULT NULL, + `kretaTargyNev` varchar(64) COLLATE utf8_hungarian_ci DEFAULT NULL, PRIMARY KEY (`targyId`), + UNIQUE KEY `kretaTargyNev` (`kretaTargyNev`), KEY `targy_FKIndex1` (`mkId`), KEY `targy_ibfk_2` (`kirTargyId`), CONSTRAINT `targy_ibfk_1` FOREIGN KEY (`mkId`) REFERENCES `munkakozosseg` (`mkId`) ON DELETE CASCADE ON UPDATE CASCADE, 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 138e8c86..ad1abcff 100644 --- a/mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql +++ b/mayor-orig/mayor-naplo/install/module-naplo/mysql/tanev.sql @@ -241,7 +241,8 @@ CREATE TABLE `jegy` ( CREATE TABLE `csoport` ( `csoportId` int(10) unsigned NOT NULL AUTO_INCREMENT, `csoportNev` varchar(128) COLLATE utf8_hungarian_ci DEFAULT NULL, - PRIMARY KEY (`csoportId`) + PRIMARY KEY (`csoportId`), + UNIQUE KEY `IDX_U_csoport_csoportNev` (`csoportNev`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci; CREATE TABLE `tankorCsoport` ( |