feat(F-113): completed feature

This commit is contained in:
chattie
2026-08-21 12:27:13 +02:00
parent 027cacd871
commit c05c0b0582
25 changed files with 581 additions and 74 deletions

View File

@@ -0,0 +1,12 @@
/**
* Courier used to ship an order. Populated when an admin marks the order as
* SHIPPED; shown in the customer "Enviado" email alongside the tracking number.
* @param {import('node-pg-migrate').MigrationBuilder} pgm
*/
export const up = (pgm) => {
pgm.sql(`ALTER TABLE orders_orders ADD COLUMN IF NOT EXISTS courier varchar(120) NULL`);
};
export const down = (pgm) => {
pgm.sql(`ALTER TABLE orders_orders DROP COLUMN IF EXISTS courier`);
};