Added unique constraint to tells table
This commit is contained in:
parent
f2f436e90a
commit
fe9b8be203
@ -26,5 +26,6 @@ create table if not exists tells (
|
||||
from_user text not null,
|
||||
to_user text not null,
|
||||
message text not null,
|
||||
created timestamp not null default current_timestamp
|
||||
created timestamp not null default current_timestamp,
|
||||
unique (to_user, message)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user