Don't you need to add log to the `db.session` so it gets commited correctly? Or did I forget how to SQL? (ie: have you tested this through a restart)