diff --git a/src/db.js b/src/db.js index d6c1f82..edf174c 100644 --- a/src/db.js +++ b/src/db.js @@ -238,11 +238,9 @@ export async function initDb() { FROM apps a CROSS JOIN (VALUES ('view', 'View Forecasts', 'View dashboard, forecasts, and history', 1), - ('view_bookability', 'View Bookability', 'View the rate / bookability matrix', 2), - ('view_competitor_rates', 'View Competitors', 'View competitor rate scraping and matrix', 3), - ('view_accuracy', 'View Accuracy', 'View model accuracy metrics and backtesting', 4), - ('manage_sync', 'Manage Data Sync', 'Trigger Newbook / Resos data syncs manually', 5), - ('settings', 'Manage Settings', 'Configure Newbook credentials and sync schedules', 6) + ('view_accuracy', 'View Accuracy', 'View model accuracy metrics and backtesting', 2), + ('manage_sync', 'Manage Data Sync', 'Trigger Newbook / Resos data syncs manually', 3), + ('settings', 'Manage Settings', 'Configure Newbook credentials and sync schedules', 4) ) AS c(slug, name, description, sort_order) WHERE a.slug = 'forecasting' ON CONFLICT (app_id, slug) DO UPDATE SET