Add foreign key attributes to dal entities, enable migrations.