From fb24a50c54d5776468e49def08aea44c4077eb47 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Wed, 20 Jan 2021 14:00:03 +0100 Subject: Rev: 4716 --- mayor-orig/mayor-naplo/log/mayor-naplo.rev | 2 +- mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 mayor-orig/mayor-naplo/update/pre004715-1-intezmeny.sql (limited to 'mayor-orig/mayor-naplo') diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev index a29b5fa9..7e1fd933 100644 --- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev +++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev @@ -1 +1 @@ -4715 +4716 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(); -- cgit v1.2.3