aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/update/pre004812-1-naplo.sql
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/mayor-naplo/update/pre004812-1-naplo.sql')
-rw-r--r--mayor-orig/mayor-naplo/update/pre004812-1-naplo.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/mayor-orig/mayor-naplo/update/pre004812-1-naplo.sql b/mayor-orig/mayor-naplo/update/pre004812-1-naplo.sql
new file mode 100644
index 00000000..d5644095
--- /dev/null
+++ b/mayor-orig/mayor-naplo/update/pre004812-1-naplo.sql
@@ -0,0 +1,13 @@
+DELIMITER $$
+DROP PROCEDURE IF EXISTS upgrade_database_4812 $$
+
+CREATE PROCEDURE upgrade_database_4812()
+BEGIN
+SET NAMES utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE `orarendiOra` MODIFY `targyJel` varchar(96) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL;
+ALTER TABLE `orarendiOraTankor` MODIFY `targyJel` varchar(96) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL;
+
+END $$
+DELIMITER ;
+CALL upgrade_database_4812();