X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=script%2Fsqlt-graph;h=324ccb30f37ed7559ec7198c46b952bccaa60ec2;hb=dd021a8fd445ed9ff0775143fbc9852664b7aeb1;hp=d4a50036c166215ff08e4a713e41043754a3b30f;hpb=f2b76cf34f78c7fe6ce44a210eba65faa048322f;p=dbsrgits%2FSQL-Translator.git diff --git a/script/sqlt-graph b/script/sqlt-graph index d4a5003..324ccb3 100755 --- a/script/sqlt-graph +++ b/script/sqlt-graph @@ -81,9 +81,9 @@ This can prove too permissive, however, as you probably don't want a field called "name" to be considered a foreign key, so you could include it in the "skip" option, and all fields called "name" will be excluded from natural joins. A more efficient method, however, might -be to simply deduce the foriegn keys from primary keys to other fields +be to simply deduce the foreign keys from primary keys to other fields named the same in other tables. Use the "natural-join-pk" option -to acheive this. +to achieve this. If the schema defines foreign keys, then the graph produced will be directed showing the direction of the relationship. If the foreign