forked from alemi/upub
fix: unique
This commit is contained in:
parent
89cd0d0335
commit
afcd9d8572
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ impl MigrationTrait for Migration {
|
||||||
.table(Likes::Table)
|
.table(Likes::Table)
|
||||||
.col(Likes::Actor)
|
.col(Likes::Actor)
|
||||||
.col(Likes::Likes)
|
.col(Likes::Likes)
|
||||||
|
.unique()
|
||||||
.to_owned()
|
.to_owned()
|
||||||
).await?;
|
).await?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue