I want a field in my table to be a sequence that is not the id of the
record. Something like

create_table :foo do |t|
  ...
  t.sequence :seq
  ...
end

Is there a clean way of doing this in migrations or will I end up
having to hack something. Like having an integer field and copying in
the id in an after_create filter?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: 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/rubyonrails-talk?hl=en.

Reply via email to