diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-02-01 22:03:41 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-02-01 22:03:41 +0100 |
commit | c861c71359dc9a5bf0b36a8a06571628e0880a8a (patch) | |
tree | 442653100670a3e57a0f0bac4868ccf699f255af /dia2pg.rb | |
parent | b3b492be7dc83209266f744e9e4561f614b81533 (diff) | |
parent | 26b3cc50816526ed58f8946a97797e55e5772862 (diff) | |
download | bin-c861c71359dc9a5bf0b36a8a06571628e0880a8a.zip bin-c861c71359dc9a5bf0b36a8a06571628e0880a8a.tar.gz |
t push Merge branch 'master' of asynk.ch:bin
Diffstat (limited to 'dia2pg.rb')
-rwxr-xr-x | dia2pg.rb | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -190,9 +190,7 @@ class Attribute end # def real_name - if no_rename? - @name - elsif foreign? + if not no_rename? and foreign? rl = RELATIONS.find { |r| r.tbl_to==@tbl and r.attr_to.name==@name } if rl.nil? $stderr << "MISSING RELATION FOR FOREIGN KEY table:#{@tbl.name} attribute:#{@name}\n" |