X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=script%2Fsqlt-graph;h=137b3636d24a788806e7f5c8e9bfd55b8b342b82;hb=36585096a3b20c0134581b5a01c23f43e381d23d;hp=d4a50036c166215ff08e4a713e41043754a3b30f;hpb=f2b76cf34f78c7fe6ce44a210eba65faa048322f;p=dbsrgits%2FSQL-Translator.git diff --git a/script/sqlt-graph b/script/sqlt-graph index d4a5003..137b363 100755 --- a/script/sqlt-graph +++ b/script/sqlt-graph @@ -14,8 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -# 02111-1307 USA +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. # ------------------------------------------------------------------- =head1 NAME @@ -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