> On Fri, Mar 13, 2009 at 10:15 AM, Rob Kinyon <[email protected]> wrote: >> autoincrement is standard idea that every single RDBMS has a different >> way of implementing. Something like this will be supported in SQLA2, >> but not now. :-/
Yeah, I know it's an evil problem, but I expect DBIx::Class to solve all my evil problems. ;-) 2009/3/13 Brian Cassidy <[email protected]>: > Errr... This is an SQL::Translator thing, actually. And you should be > able to use something like the following: > > is_auto_increment => 1, This is what I'm looking for, thanks - works as expected. And I'd swear I tried it yesterday... I wasn't aware that SQLite assumes all integer PKs are autoincrement, it's possible I confused myself. -- Ian. _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
