mirror of
https://github.com/jlelse/GoBlog
synced 2024-07-05 23:12:58 +00:00
7 lines
224 B
SQL
7 lines
224 B
SQL
create table reactions (
|
|
path text not null,
|
|
reaction text not null,
|
|
count integer default 0,
|
|
primary key (path, reaction),
|
|
foreign key (path) references posts(path) on update cascade on delete cascade
|
|
); |