schemamatic: work when user-defined types exist.
commit0316753f93d5f85bb8313fcdccb049b145a0ecd0
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 21 Nov 2008 22:47:24 +0000 (21 17:47 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 21 Nov 2008 22:47:24 +0000 (21 17:47 -0500)
tree00996b7d35c80edfeb1c28e269e32f70050dbccd
parent1761af155ee4cc521b5cd614b96386f8811be3b1
schemamatic: work when user-defined types exist.

If you create a user-defined alias data type in MSSQL, the same column would
show up twice in our query, once with the physical data type and once with
the aliased one.  Schemamatic would notice this and die.

Add a missing join constraint to fix the confusion.
versaplexd/vxdbschema.cs