#2330 closed defect (fixed)
Change Datatype of web_order_request_item.quantity_shipped
| Reported by: | Benjamin Haag | Owned by: | Benjamin Haag |
|---|---|---|---|
| Priority: | blocker | Milestone: | Server 2.1.1 |
| Component: | Database, Schema Changes | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
The datatype of all quantity columns must be DECIMAL(18,5). Because web_order_request_item.quantity_shipped is currently an INT, web orders are failing to submit.
Change History (7)
comment:1 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:4 by , 5 years ago
Ran additional script:
ALTER TABLE web_user_cart_item
ALTER COLUMN quantity DECIMAL(18,5)
comment:5 by , 5 years ago
Based on 8/4 dev team meeting, ran the following script to revert change to web_user_cart_item:
ALTER TABLE web_user_cart_item
ALTER COLUMN quantity INT
comment:6 by , 5 years ago
| Milestone: | → Server 2.1.1 |
|---|
comment:7 by , 5 years ago
| Component: | Public Website 2 → Database, Schema Changes |
|---|
Note:
See TracTickets
for help on using tickets.

The following SQL has been run on DEV, TRAINING, and PROD:
ALTER TABLE web_order_request_item
ALTER COLUMN quantity_shipped DECIMAL(18,5)