lib/ncs_navigator/mdes/specification.rb in ncs_mdes-0.5.0 vs lib/ncs_navigator/mdes/specification.rb in ncs_mdes-0.6.0
- old
+ new
@@ -89,10 +89,10 @@
# All types must be resolved before doing FK resolution or
# forward refs are missed.
tables.each { |t|
fk_overrides = heuristic_overrides['foreign_keys'][t.name] || { }
t.variables.each { |v|
- v.resolve_foreign_key!(tables, fk_overrides[v.name], :log => @log)
+ v.resolve_foreign_key!(tables, fk_overrides[v.name], :log => @log, :in_table => t)
}
}
}
end
private :read_transmission_tables