12 lines
976 B
SQL
12 lines
976 B
SQL
-- Seed positions and employees if none exist (useful for fresh installs)
|
|
INSERT IGNORE INTO positions (id, name_en, name_ar, description_en, description_ar) VALUES
|
|
(1, 'Doctor', 'طبيب', 'Medical Doctor', 'طبيب بشري'),
|
|
(2, 'Nurse', 'ممرض', 'Registered Nurse', 'ممرض مسجل'),
|
|
(3, 'Receptionist', 'موظف استقبال', 'Front Desk', 'الاستقبال');
|
|
|
|
INSERT IGNORE INTO employees (id, name_en, name_ar, email, mobile, department_id, position_id, room_number) VALUES
|
|
(1, 'Dr. Ahmed Ali', 'د. أحمد علي', 'ahmed@hospital.com', '0501234567', 1, 1, '101'),
|
|
(2, 'Dr. Sarah Smith', 'د. سارة سميث', 'sarah@hospital.com', '0501234568', 2, 1, '102'),
|
|
(3, 'Dr. John Doe', 'د. جون دو', 'john@hospital.com', '0501234569', 4, 1, '103'),
|
|
(4, 'Nurse Fatima', 'الممرضة فاطمة', 'fatima@hospital.com', '0501234570', 3, 2, 'ER-1'),
|
|
(5, 'Nurse Mary', 'الممرضة ماري', 'mary@hospital.com', '0501234571', 1, 2, 'OPD-1'); |