aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/update/orev002062-1-intezmeny.sql
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/update/orev002062-1-intezmeny.sql')
-rw-r--r--mayor-orig/update/orev002062-1-intezmeny.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/mayor-orig/update/orev002062-1-intezmeny.sql b/mayor-orig/update/orev002062-1-intezmeny.sql
new file mode 100644
index 00000000..a5c3a228
--- /dev/null
+++ b/mayor-orig/update/orev002062-1-intezmeny.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `zaroJegy` MODIFY `szemeszter` tinyint(3) unsigned DEFAULT NULL;
+-- UPDATE `zaroJegy` SET szemeszter = NULL WHERE zaroJegyId IN (SELECT DISTINCT zaroJegyId FROM vizsga);