Sql fix
Merge branch 'master' of https://github.com/bstrx/doorlog