-- Schema CREATE TABLE IF NOT EXISTS presences ( at TIMESTAMP DEFAULT current_timestamp, id VARCHAR(7) PRIMARY KEY CHECK (length(id) > 0) );