fix: require reactions to be unique for owner, asset
add: cut off really long text in posts
This commit is contained in:
parent
a1c6beb664
commit
d7a37809ba
9 changed files with 27 additions and 37 deletions
1
sql_changes/reactions_unique.sql
Normal file
1
sql_changes/reactions_unique.sql
Normal file
|
@ -0,0 +1 @@
|
|||
ALTER TABLE reactions ADD CONSTRAINT uq_reactions UNIQUE (owner, asset);
|
Loading…
Add table
Add a link
Reference in a new issue