CREATE EXTENSION IF NOT EXISTS pgcrypto; CREATE TABLE unpack_history ( id uuid default gen_random_uuid() primary key, input text NOT NULL, result text NOT NULL, created_at timestamptz DEFAULT NOW() ) ;