-- Wijzigen naar de database voor shared hosting met jouw eigen gegevens
USE ID201584_tiggo;

CREATE TABLE IF NOT EXISTS smoelboek_colleagues (
    id INT AUTO_INCREMENT PRIMARY KEY,
    first_name VARCHAR(100) NOT NULL,
    last_name VARCHAR(100) NOT NULL,
    city VARCHAR(120) NOT NULL,
    gender ENUM('Man','Vrouw','X') NOT NULL DEFAULT 'X',
    hobbies TEXT,
    photo VARCHAR(255) DEFAULT NULL,
    is_active TINYINT(1) NOT NULL DEFAULT 1,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
    updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);