fix: unique

This commit is contained in:
əlemi 2024-03-22 06:25:30 +01:00
parent 89cd0d0335
commit afcd9d8572
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -97,6 +97,7 @@ impl MigrationTrait for Migration {
.table(Likes::Table)
.col(Likes::Actor)
.col(Likes::Likes)
.unique()
.to_owned()
).await?;