I have a need to have an auto_increment field in a table that is unique on a a per-user basis. The scenario is that I have Invitations/ RSVPs that are physically tracked via a number (RSVP ID) for quick reference.
This number needs to be auto_incremeted based on the owner of the record, so that each user will have their own set of RSVP ID's, starting with "1" and going up. Is there a way to model this to have MySQL take care of this for me, or must I implement the arithmetic for the mangement of this value on the ruby side? thanks, --jeremy -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
