Remove unneeded foreign key

This commit is contained in:
Justin Mazzocchi 2020-10-02 00:46:47 -07:00
parent 33f026f9cc
commit 764971f03b
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -67,7 +67,7 @@ extension ContentDatabase {
t.column("listId", .text)
t.column("listTitle", .text).indexed().collate(.localizedCaseInsensitiveCompare)
t.column("tag", .text)
t.column("accountId", .text).references("accountRecord", onDelete: .cascade)
t.column("accountId", .text)
t.column("profileCollection", .text)
}