Introducing new field foreign_table on repository fields