noosfero | Handle related suggestions when a profile is destroyed (#565)
Daniela Feitosa
gitlab at gitlab.com
Thu May 14 14:56:06 BRT 2015
New comment for Merge Request 565
https://gitlab.com/noosfero/noosfero/merge_requests/565#note_1233487
Daniela Feitosa
Joining both sql commands into one it is faster:
`execute("DELETE FROM profile_suggestions WHERE suggestion_id NOT IN (SELECT id from profiles)")`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150514/d0902ea6/attachment.html>
More information about the Noosfero-dev
mailing list