这是你唯一需要的 Postgres 模式,不服来辩
2 分•作者: philmcp•7 个月前
```
CREATE TABLE x (
id uuid DEFAULT uuid_generate_v4() PRIMARY KEY,
data jsonb,
inserted timestamp with time zone DEFAULT now(),
updated timestamp with time zone
);
```
查看原文
CREATE TABLE x (<p>id uuid DEFAULT uuid_generate_v4() PRIMARY KEY,<p>data jsonb,<p>inserted timestamp with time zone DEFAULT now(),<p>updated timestamp with time zone<p>);