CREATE TABLE regions (
    id UUID PRIMARY KEY,
    latitude DOUBLE PRECISION NOT NULL,
    longitude DOUBLE PRECISION NOT NULL,
    size_meters DOUBLE PRECISION NOT NULL,
    zoom_level INT NOT NULL,
    status VARCHAR(20) NOT NULL,
    csv_file_path VARCHAR(500),
    summary_file_path VARCHAR(500),
    tiles_downloaded INT DEFAULT 0,
    tiles_reused INT DEFAULT 0,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);

