[jifty-devel] autoincrement id

IN SUK JOUNG i.joung at gmail.com
Mon Mar 19 23:18:58 EDT 2007


Window XP, Sqlite3
Currently, it adds 1 to the maximum value of id. That is, if I remove the
last item and add a new item. The two items have same id.

On 3/19/07, Jesse Vincent <jesse at bestpractical.com> wrote:
>
>
> On Mar 19, 2007, at 11:09 PM, IN SUK JOUNG wrote:
>
> > Hi,
> > All the ids of Jifty models are not autoincrement.
>
> They sure are supposed to be. And are on all my applications. What
> app do you have that's not doing so? (Also, on what db?)
>
> > I think people usually need a REAL ID that is unique over time. As
> > you know, this is very important when you make relations among
> > tables. I hope jifty gives an option for autoincrement id of
> > models. Also Jifty::DBI::Schema need to have one something like
> > 'column xxx => is autoincrement'. Any plan for it?
> >
> > --
> > Best,
> > In-Suk Joung
> > _______________________________________________
> > jifty-devel mailing list
> > jifty-devel at lists.jifty.org
> > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
>
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
>
>


-- 
Best,
In-Suk Joung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070319/f555c6d8/attachment.htm


More information about the jifty-devel mailing list