aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql
diff options
context:
space:
mode:
authorM.Gergo2021-01-20 14:00:03 +0100
committerM.Gergo2021-01-20 14:00:03 +0100
commitfb24a50c54d5776468e49def08aea44c4077eb47 (patch)
tree021c88094657c5a8ba9573b84857fb744e4cdc39 /mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql
parent6096375432ff70c57cb832cd4fcbb031eeaa3765 (diff)
downloadmayor-rev4716.tar.gz
mayor-rev4716.zip
Rev: 4716rev4716
Diffstat (limited to 'mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql')
-rw-r--r--mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql12
1 files changed, 12 insertions, 0 deletions
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();