INSERT INTO modules (module_key, name, description, is_enabled) VALUES
('core', 'Core System', 'Base system functionality', 1),
('users', 'User Management', 'Users, roles, permissions', 1),
('billing', 'Billing', 'Subscriptions and payments', 0),
('reports', 'Reports', 'Reporting and exports', 0),
('audit', 'Audit Logs', 'System audit trail', 1)
ON DUPLICATE KEY UPDATE
name = VALUES(name),
description = VALUES(description);
