blob: 09f216a74add710dd94e3f0f3e84166955129a13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
create table rule (
uuid uuid primary key,
configuration jsonb not null,
id text generated always as (
configuration->>'id'
) stored,
version text generated always as (
configuration->>'version'
) stored,
unique (id, version)
);
|