[Nitro] PATCH: kirby_evolve_schema

Bryan Soto bryan.a.soto at gmail.com
Tue Jan 3 03:21:10 EST 2006


Attached adds schema evolution to KirbyBase store. Og.setup flags are, as
other stores, :evolve_schema and :evolve_schema_cautious.

The beginnings of join tables are there as well, but don't work. They are
created properly, but error when you actually try to use them in code.

The problem specifically seems to be in KirbyBase#query. Og tries to use the
query string generated for the join to create a code block for Kirby to
actually do the selection.

If you're interested in working on it, the join table creation code is at
the end of KirbyBase#create_table commented out.

-b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060103/4fd75f25/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_kirby_evolve_schema
Type: application/octet-stream
Size: 7550 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060103/4fd75f25/attachment.obj 


More information about the Nitro-general mailing list