Shortened field lengths as appropriate and corrected a foreign key definition
Merge pull request #16 from emiidee/feat/db_configuration

Shortened field lengths