fixed database migration issue - got rid of the foreign keys which appeared without my intention