-- Default Admin Seeder
-- Password: admin123 (bcrypt hash)

INSERT INTO `admins` (`username`, `email`, `password`, `created_at`) 
VALUES (
    'admin',
    'admin@acm.local',
    '$2y$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/X4.qL0W8IYF5.lm7S',
    NOW()
) ON DUPLICATE KEY UPDATE `password` = VALUES(`password`);

-- Default Settings
INSERT INTO `settings` (`key`, `value`, `created_at`) VALUES
    ('system_name', 'ACM Sync Manager', NOW()),
    ('timezone', 'UTC', NOW()),
    ('sync_interval', '5', NOW()),
    ('email_notifications', '1', NOW()),
    ('debug_mode', '0', NOW())
ON DUPLICATE KEY UPDATE `value` = VALUES(`value`);
