aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/update/pre002493-1-naplo.sql
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/update/pre002493-1-naplo.sql')
-rw-r--r--mayor-orig/update/pre002493-1-naplo.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/mayor-orig/update/pre002493-1-naplo.sql b/mayor-orig/update/pre002493-1-naplo.sql
new file mode 100644
index 00000000..dda44b89
--- /dev/null
+++ b/mayor-orig/update/pre002493-1-naplo.sql
@@ -0,0 +1,2 @@
+alter table munkatervOsztaly modify munkatervId tinyint(3) unsigned not null;
+alter table munkatervOsztaly add foreign key IBFK_munkatervId (munkatervId) REFERENCES munkaterv (munkatervId) ON DELETE CASCADE ON UPDATE CASCADE ; \ No newline at end of file