Improve database table schemas.
Merge pull request #8 from Agrosis/master

Improve database table schemas.