From f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 21:20:34 +0100 Subject: további rendrakás --- mayor-orig/update/pre002573-1-intezmeny.sql | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 mayor-orig/update/pre002573-1-intezmeny.sql (limited to 'mayor-orig/update/pre002573-1-intezmeny.sql') diff --git a/mayor-orig/update/pre002573-1-intezmeny.sql b/mayor-orig/update/pre002573-1-intezmeny.sql deleted file mode 100644 index 3ff7880f..00000000 --- a/mayor-orig/update/pre002573-1-intezmeny.sql +++ /dev/null @@ -1,7 +0,0 @@ - -alter table tanmenet add column `statusz` enum('új','kész','jóváhagyott','publikus','elavult') default 'új'; - -update tanmenet set statusz='jóváhagyott' where jovahagyva > 0; -update tanmenet set statusz='kész' where statusz='új' and oraszam=(select sum(oraszam) from tanmenetTankor where tanmenetTankor.tanmenetId=tanmenet.tanmenetId); - -alter table tanmenet drop column jovahagyva; \ No newline at end of file -- cgit v1.2.3