Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 37769 |
amit |
1 |
-- Drops warehouse.purchaseorder.reopenedAt (added by add_po_reopened_at_20260918.sql).
|
|
|
2 |
-- Movement POs no longer auto-close, so nothing needs a reopen clock; the entity no longer maps the column.
|
|
|
3 |
-- Run ONLY AFTER the dao/fofo/cron builds without the mapping are deployed: the currently deployed builds still
|
|
|
4 |
-- map the column and would fail every purchaseorder read if it were dropped first.
|
|
|
5 |
-- MySQL 5.7: DROP COLUMN rebuilds the table (~54k rows, small). INPLACE keeps it online.
|
|
|
6 |
ALTER TABLE warehouse.purchaseorder DROP COLUMN reopenedAt, ALGORITHM=INPLACE, LOCK=NONE;
|