CREATE TABLE IF NOT EXISTS users (
    id INT AUTO_INCREMENT PRIMARY KEY,
    telegram_id BIGINT NOT NULL UNIQUE,
    api_key VARCHAR(255) NOT NULL,
    joined_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);