-- Migration 057: Seed dashboardTab — the native dashboard shortcut in the tab grid menu.
-- sort_order -1 places it first (before homeTab at 0).

INSERT IGNORE INTO app_tabs (tab_id, label, icon, sort_order, content_type, content_slug, requires_token, created_at, updated_at) VALUES
('dashboardTab', 'Dashboard', '📊', -1, 'native', NULL, 0, NOW(), NOW());

INSERT IGNORE INTO ftt_app_tabs (tab_id, label, icon, sort_order, content_type, content_slug, requires_token, created_at, updated_at) VALUES
('dashboardTab', 'Dashboard', '📊', -1, 'native', NULL, 0, NOW(), NOW());

INSERT IGNORE INTO app_feature_policy (tab_id, visibility, message_type, message_content, min_tier, allow_override_for_developer_admin, updated_at) VALUES
('dashboardTab', 'show', 'none', NULL, 'trial', 1, NOW());

INSERT IGNORE INTO ftt_app_feature_policy (tab_id, visibility, message_type, message_content, min_tier, allow_override_for_developer_admin, updated_at) VALUES
('dashboardTab', 'show', 'none', NULL, 'trial', 1, NOW());
