fixed createng foreign keys for "hasMany" relationsShipTable