Skip to content
Browse files

Merge pull request #118 from garyhgohoos/22601

Issue #22601:add shipto_preferred_warehous_id
  • Loading branch information...
2 parents e8eab17 + 9187395 commit 02fe20d97a16026df3b49ae595360a803e496c3c @gpazo gpazo committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 updatescripts/from_430/alterShiptoinfo.sql
View
7 updatescripts/from_430/alterShiptoinfo.sql
@@ -0,0 +1,7 @@
+ALTER TABLE shiptoinfo ADD COLUMN shipto_preferred_warehous_id INTEGER;
+
+UPDATE shiptoinfo SET shipto_preferred_warehous_id=-1;
+
+ALTER TABLE shiptoinfo ALTER COLUMN shipto_preferred_warehous_id SET DEFAULT -1;
+ALTER TABLE shiptoinfo ALTER COLUMN shipto_preferred_warehous_id SET NOT NULL;
+

0 comments on commit 02fe20d

Please sign in to comment.
Something went wrong with that request. Please try again.