-- Create biometric_devices table CREATE TABLE IF NOT EXISTS hr_biometric_devices ( id INT AUTO_INCREMENT PRIMARY KEY, device_name VARCHAR(100) NOT NULL, ip_address VARCHAR(50) NOT NULL, port INT DEFAULT 4370, io_address VARCHAR(100), -- specific request serial_number VARCHAR(100), status ENUM('active', 'inactive') DEFAULT 'active', last_sync TIMESTAMP NULL, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP );