add foreign keys, change some datatypes
Merge pull request #1 from Melkij/dump.sql_change_fields_types

add foreign keys, change some datatypes