[Nitro] Create models from existing database?

Bryan Soto bryan.a.soto at gmail.com
Wed Feb 22 15:47:54 EST 2006


On 2/22/06, S P Arif Sahari Wibowo <arifsaha at yahoo.com> wrote:
>
> Hi!
>
> Another newbie qustion: is there any tools that will assist
> creating Og models from existing SQL DDL?
>
> Thanks!


None that I'm aware of. Most people use Og to start a database from scratch.
I believe you'd have to define your properties to match by hand. A sample of
this is in the og gem directory.

ruby_install_dir/lib/gems/1.8/gems/og-0.28.0/test/og/tc_reverse.rb

It does seem like something that can be automated though. Thanks for the
suggestion. That's a good one.

Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060222/f0a3a66e/attachment.html 


More information about the Nitro-general mailing list