-- Insert Admin User into Database
-- Password: Test@123 (bcrypt hashed for security)
-- Email: admin@awesomemall.com

INSERT INTO users (name, email, contactno, password) 
VALUES (
    'Admin User', 
    'admin@awesomemall.com', 
    '0206994579', 
    '$2y$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/LewY5lGBX3tDpFCJm'
);

-- Alternative admin accounts (you can use any of these)

-- Admin 2: admin@awesome-mall.com / Test@123
INSERT INTO users (name, email, contactno, password) 
VALUES (
    'Administrator', 
    'admin@awesome-mall.com', 
    '0548100237', 
    '$2y$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/LewY5lGBX3tDpFCJm'
);

-- Super Admin: superadmin@awesomemall.com / Admin@2024
INSERT INTO users (name, email, contactno, password) 
VALUES (
    'Super Admin', 
    'superadmin@awesomemall.com', 
    '0206994579', 
    '$2y$12$9PzKH5wF.YwqE0xGkPGW2OqYL.rNxH0vXHJPvBJ6fZrQYLGKQJ8Gm'
);

-- ============================================
-- CREDENTIALS SUMMARY
-- ============================================
-- Email: admin@awesomemall.com
-- Password: Test@123
--
-- Email: admin@awesome-mall.com  
-- Password: Test@123
--
-- Email: superadmin@awesomemall.com
-- Password: Admin@2024
-- ============================================

-- To verify users exist, run:
-- SELECT id, name, email, contactno FROM users WHERE email LIKE '%admin%';
