DROP TABLE PrintFiles;
CREATE TABLE PrintFiles (
    
    id INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL,
    created_at TIMESTAMP DEFAULT(CURRENT_TIMESTAMP),
    last_modified TIMESTAMP NOT NULL DEFAULT(CURRENT_TIMESTAMP) ON UPDATE CURRENT_TIMESTAMP,
    
    print_file_category_id INT NOT NULL,
    filament_material_id INT NOT NULL,
    printer_model_id INT NOT NULL,

    file_name VARCHAR(255) UNIQUE NOT NULL,
    file_path VARCHAR(255) UNIQUE NOT NULL,

    sync_status BOOLEAN NOT NULL DEFAULT('0')

); 

ALTER TABLE PrintFiles ADD COLUMN print_file_category_id INT;
ALTER TABLE PrintFiles ADD COLUMN print_file_category_id INT;
