[Georuby-devel] SpatialAdapter Migrations: Providing an option to not use AddGeometryColumn?

Guilhem Vellut guilhem.vellut at gmail.com
Mon May 19 13:50:37 EDT 2008

On Mon, May 19, 2008 at 5:57 PM, Leo Soto M. <leo.soto at gmail.com> wrote:
> I managed to do it without modifying PostgreSQLColumnDefintion, but
> that was because I modified
> ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#add_column. I
> don't know too much about ActiveRecord, so that may be a wrong way to
> do it.
> I also think that remove_column should be patched in a similar way.

OK. Sounds fine.

> So I'm leaning towards the second option (even after using the third
> one when I prototyped it). But you have the last word on it.

I like the second one as well. I don't think it will be an extremely
common option (when true by default) so length is not a big problem.
It is self-documenting too.
Thank you for your work.


More information about the Georuby-devel mailing list