create table user_data(
    owner uuid not null references users(id) on delete cascade,
    "user" uuid not null references users(id) on delete cascade,
    data jsonb not null,
    primary key (owner, "user")
);
