projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master', remote branch 'origin'
[kivitendo-erp.git]
/
sql
/
Pg-upgrade2
/
tax_id_if_taxkey_is_0.sql
diff --git
a/sql/Pg-upgrade2/tax_id_if_taxkey_is_0.sql
b/sql/Pg-upgrade2/tax_id_if_taxkey_is_0.sql
index
3df3414
..
a3eaf4d
100644
(file)
--- a/
sql/Pg-upgrade2/tax_id_if_taxkey_is_0.sql
+++ b/
sql/Pg-upgrade2/tax_id_if_taxkey_is_0.sql
@@
-2,3
+2,4
@@
-- @description: Aktualisierung der Spalte tax.id, wenn tax.taxkey = 0 ist.
-- @depends:
UPDATE tax SET id = 0 WHERE taxkey = 0;
+UPDATE taxkeys SET tax_id = 0 WHERE taxkey_id = 0;