Mismatch between `deleted_at` and `where` variants in session classes
Session:
@Where(clause = "session_deleted_at IS NULL")
@SQLDelete(sql = "UPDATE session SET session_deleted_at = NOW() WHERE id = ?")
sharedsession:
@Where(clause = "deleted_at IS NULL")
@SQLDelete(sql = "UPDATE shared_session SET deleted_at = NOW() WHERE id = ?")
singlesession:
@WhereJoinTable(clause = "deleted_at IS NULL")
@SQLDelete(sql = "UPDATE single_session SET deleted_at = NOW() WHERE id = ?")
These need to be unified to make deletion work properly. Look at e.g. session 8223.
Don't forget a migration to merge the deleted_at options (although deleted_at at the moment seems to be not occuring).