Fixed database mapping
Merge pull request #3 from SyntaxError2014/debug

Fixed database mapping