diff options
author | M.Gergo | 2021-02-20 03:22:41 +0100 |
---|---|---|
committer | M.Gergo | 2021-02-20 03:22:41 +0100 |
commit | e472633f696d7e913b36875b258f4d45167388cc (patch) | |
tree | e91387703cbcca7835f452d162fb27a4eac8ab50 /mayor-orig/mayor-naplo/update | |
parent | cf6a58003f47139501a2907f8a4bc400b23fda66 (diff) | |
parent | fb24a50c54d5776468e49def08aea44c4077eb47 (diff) | |
download | mayor-e472633f696d7e913b36875b258f4d45167388cc.tar.gz mayor-e472633f696d7e913b36875b258f4d45167388cc.zip |
Az eredeti forráskódok frissítve a http://mayor.hu -ról
Diffstat (limited to 'mayor-orig/mayor-naplo/update')
-rw-r--r-- | mayor-orig/mayor-naplo/update/pre004682-1-intezmeny.sql | 17 | ||||
-rw-r--r-- | mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql | 12 |
2 files changed, 29 insertions, 0 deletions
diff --git a/mayor-orig/mayor-naplo/update/pre004682-1-intezmeny.sql b/mayor-orig/mayor-naplo/update/pre004682-1-intezmeny.sql new file mode 100644 index 00000000..121f2c88 --- /dev/null +++ b/mayor-orig/mayor-naplo/update/pre004682-1-intezmeny.sql @@ -0,0 +1,17 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4682 $$ + +CREATE PROCEDURE upgrade_database_4682() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE `tanar` MODIFY `viseltNevElotag` varchar(8) COLLATE utf8_hungarian_ci DEFAULT ''; +ALTER TABLE `tanar` MODIFY `szuleteskoriNevElotag` varchar(8) COLLATE utf8_hungarian_ci DEFAULT ''; +ALTER TABLE `szulo` MODIFY `nevElotag` varchar(8) COLLATE utf8_hungarian_ci DEFAULT ''; +ALTER TABLE `szulo` MODIFY `szuleteskoriNevElotag` varchar(8) COLLATE utf8_hungarian_ci DEFAULT ''; +ALTER TABLE `diak` MODIFY `viseltNevElotag` varchar(8) COLLATE utf8_hungarian_ci DEFAULT ''; +ALTER TABLE `diak` MODIFY `szuleteskoriNevElotag` varchar(8) COLLATE utf8_hungarian_ci DEFAULT ''; + +END $$ +DELIMITER ; +CALL upgrade_database_4682(); diff --git a/mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql b/mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql new file mode 100644 index 00000000..485aab2a --- /dev/null +++ b/mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql @@ -0,0 +1,12 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4715 $$ + +CREATE PROCEDURE upgrade_database_4715() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE zaroJegy MODIFY `megjegyzes` enum('dicséret','figyelmeztető','') COLLATE utf8_hungarian_ci DEFAULT NULL; + +END $$ +DELIMITER ; +CALL upgrade_database_4715(); |