From: Fabian Marin Date: 2010-07-30T05:11:22+09:00 Subject: Re: tool to compare DB schema against DDL file Robert Klemme wrote: > But what are you looking for? The subject says you want to compare a > schema and a DDL file now it seems you need to compare a schema and an > AR model. These are two quite different sets of requirements. > > Cheers > > robert I ultimately need to compare a DB (extracting data to a DB custom tool or from the system catalogs) and a DDL file. However it might be easier if one or both of those forms are translated to an intermediate, more easily comparable form such as ... an AR model! The idea is basically to find an intermediate form that allows easy comparison of the two: a DB's current schema, and a DDL file. Translating information to this intermediate form would also allow maximum flexibility (e.g. how about comparing two DDL files, two databases, a ruby schema and a DDL file). -- Posted via http://www.ruby-forum.com/.