12 lines
512 B
Markdown
12 lines
512 B
Markdown
create table public.ping_reports (
|
|
id bigint generated by default as identity not null,
|
|
created_at timestamp with time zone not null default now(),
|
|
user_id bigint not null,
|
|
match_id bigint not null,
|
|
ip_address text null,
|
|
ping integer not null,
|
|
constraint ping_reports_pkey primary key (id),
|
|
constraint ping_reports_user_id_fkey foreign key (user_id) references users (id),
|
|
constraint ping_reports_match_id_fkey foreign key (match_id) references matches (id)
|
|
) TABLESPACE pg_default;
|