feat: implement BAP webhook configuration management and customer order tracking support

This commit is contained in:
Michael committed 2026-04-02 12:52:20 +02:00
1 parent 576db2d7f4
commit 55191c511b
6 files changed
+208 -21

No files matched your search

+7
View File
@@ -36,6 +36,13 @@ export async function runMigrations() {
// Ajouter les migrations hardcodées directement dans le code pour éviter les problèmes de chemins
const hardcodedMigrations = [
{
filename: '20260402000002_add_notified_fields_to_customer_orders.sql',
content: `
ALTER TABLE customer_orders ADD COLUMN IF NOT EXISTS notified_at TIMESTAMP;
ALTER TABLE customer_orders ADD COLUMN IF NOT EXISTS notified_comment TEXT;
`
},
{
filename: '20260402000000_add_codefou_to_suppliers.sql',
content: `ALTER TABLE suppliers ADD COLUMN IF NOT EXISTS codefou VARCHAR;`