-- ─── Initial Super Admin Seed ──────────────────────────────
-- Default Password: admin123 (Please change after first login)

INSERT INTO tenants (id, name, email, status) 
VALUES ('d0e4e4e4-e4e4-4e4e-ae4e-e4e4e4e4e4e4', 'Musadaq Admin', 'admin@musadaq.app', 'active');

INSERT INTO users (id, tenant_id, name, email, password_hash, role, is_active) 
VALUES (
    'u0e4e4e4-e4e4-4e4e-ae4e-e4e4e4e4e4e4', 
    'd0e4e4e4-e4e4-4e4e-ae4e-e4e4e4e4e4e4', 
    'Super Admin', 
    'admin@musadaq.app', 
    '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', -- Default: 'password'
    'super_admin', 
    1
);

INSERT INTO subscriptions (tenant_id, plan, max_companies, max_invoices_per_month, max_users, status)
VALUES (
    'd0e4e4e4-e4e4-4e4e-ae4e-e4e4e4e4e4e4',
    'pro',
    999,
    9999,
    99,
    'active'
);
