removed db_table attributes to prevent duplicate names; added max_length to fields that were missing it; removed primary key definitions because there were two on the table