
-- PostgreSQL Table Create

CREATE TABLE children (
    id            SERIAL      NOT NULL,
    nationalId    varchar(14) NOT NULL, 
    data          JSONB,
    created_at    timestamptz DEFAULT NOW() NOT NULL,
    PRIMARY KEY   (nationalId)
) TABLESPACE pg_default;