aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/update/orev001599-1-naplo.sql
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/mayor-naplo/update/orev001599-1-naplo.sql')
-rw-r--r--mayor-orig/mayor-naplo/update/orev001599-1-naplo.sql50
1 files changed, 50 insertions, 0 deletions
diff --git a/mayor-orig/mayor-naplo/update/orev001599-1-naplo.sql b/mayor-orig/mayor-naplo/update/orev001599-1-naplo.sql
new file mode 100644
index 00000000..eafbb23a
--- /dev/null
+++ b/mayor-orig/mayor-naplo/update/orev001599-1-naplo.sql
@@ -0,0 +1,50 @@
+-- 1367-es ismétlése, mert korábban hibás néven szerepelt
+
+alter database collate utf8_hungarian_ci;
+
+alter table orarendiOra MODIFY osztalyJel varchar(7) binary;
+alter table orarendiOraTankor MODIFY osztalyJel varchar(7) binary;
+alter table orarendiOra MODIFY targyJel varchar(32) binary;
+alter table orarendiOraTankor MODIFY targyJel varchar(32) binary;
+
+ALTER TABLE nap
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE dolgozat
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE csere
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE osztalyNaplo
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE targySorszam
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE bejegyzes
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE tankorDolgozat
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE tankorNaplo
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE ora
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE orarendiOraTankor
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE hianyzas
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE orarendiOra
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE csoport
+CONVERT TO CHARACTER SET utf8 COLLATE utf8_hungarian_ci;
+
+ALTER TABLE `uzeno` DEFAULT CHARSET=utf8 COLLATE utf8_hungarian_ci;
+ALTER TABLE `uzeno` ENGINE = InnoDB;