db tweaks
Merge pull request #2 from katelane/dbwork

db tweaks