CREATE TABLE admins (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100),
email VARCHAR(150) UNIQUE,
password_hash VARCHAR(255)
);

CREATE TABLE devices (
id INT AUTO_INCREMENT PRIMARY KEY,
device_id VARCHAR(100) UNIQUE,
is_used TINYINT(1) DEFAULT 0,
used_at DATETIME NULL
);