#146 added support for primary keys and indices
#146 added support for foreign keys