USE jaforlife;

INSERT INTO notifications (user_id,title,message,type,link,is_read) 
SELECT id,'Welcome to JaforLife','Your demo account is ready to explore the platform.','welcome','?route=dashboard',0
FROM users WHERE email='customer@test.com';

INSERT INTO notifications (user_id,title,message,type,link,is_read)
SELECT id,'You have open opportunities','Several customer jobs are currently accepting bids.','job','?route=browse',0
FROM users WHERE email='contractor@test.com';

INSERT INTO notifications (user_id,title,message,type,link,is_read)
SELECT id,'Platform activity summary','New users, jobs and bids are available in the admin dashboard.','general','?route=admin',0
FROM users WHERE email='admin@jaforlife.com';
