Ahhh. I had only ever actually done this with MySQL now that I think
about it. I appear to have assumed it was commonplace. All righty.
Since I'm using Postgres for the most part now, it doesn't matter
anyway.

On Mar 22, 7:33 pm, Jeremy Evans <[email protected]> wrote:
> On Mar 22, 6:30 pm, cult hero <[email protected]> wrote:
>
> > Is it possible to insert a column, rather than just add one, in a
> > Sequel migration? When I build my tables I like to keep the fields
> > grouped together and sometimes I'll have to add a field later in the
> > game and when adding it via migration it's the last field. It's not a
> > big deal, but if I'm viewing the database in some kind of app, the
> > default order is not precisely what I would have wanted.
>
> > I looked at the documentation for Sequel::Schema::Generator.column but
> > don't see an option like :before or something to specify that behavior.
>
> I think there is a MySQL specific extension for this, but Sequel
> doesn't currently support it.
>
> Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to