mirror of https://gitlab.com/ngerakines/tavern.git
11 lines
444 B
SQL
11 lines
444 B
SQL
create table if not exists public.object_subscriptions
|
|
(
|
|
id uuid not null
|
|
constraint object_subscriptions_pk primary key,
|
|
created_at timestamp with time zone not null,
|
|
updated_at timestamp with time zone not null,
|
|
object_id uuid not null,
|
|
actor_id uuid not null,
|
|
constraint object_subscriptions_uindex
|
|
unique (object_id, actor_id)
|
|
); |