diff --git a/src/db.js b/src/db.js index 462d21f..180ea13 100644 --- a/src/db.js +++ b/src/db.js @@ -286,8 +286,9 @@ export async function initDb() { SELECT a.id, c.slug, c.name, c.description, c.sort_order FROM apps a CROSS JOIN (VALUES - ('view', 'View & Run Reports', 'Browse and run all custom reports', 1), - ('export', 'Export to CSV', 'Download report results as a CSV file', 2) + ('view', 'View & Run Reports', 'Browse and run all custom reports', 1), + ('export', 'Export to CSV', 'Download report results as a CSV file', 2), + ('edit', 'Edit Directors Forecast', 'Edit pickup/dry/wet overrides and save forecast snapshots', 3) ) AS c(slug, name, description, sort_order) WHERE a.slug = 'reports' ON CONFLICT (app_id, slug) DO UPDATE SET