CREATE EXTENSION IF NOT EXISTS pgcrypto; CREATE TABLE directories ( id uuid PRIMARY KEY DEFAULT GEN_RANDOM_UUID(), active boolean NOT NULL, created_at timestamptz NOT NULL DEFAULT CURRENT_TIMESTAMP, updated_at timestamptz );