X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Ftestlib%2FImplicitInflate.pm;fp=t%2Fcdbi%2Ftestlib%2FImplicitInflate.pm;h=14b2bf8549c0904bd03e92c90c1f25e09a1faa3f;hb=7305f6f933813eaa1a4a7b65bfc5f158d0d65c4d;hp=610e8355004734467a4b9e2d0b7c09489ff3031f;hpb=3aa25d8b47104964c689be4ca8c1fc5b17781a7f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/testlib/ImplicitInflate.pm b/t/cdbi/testlib/ImplicitInflate.pm index 610e835..14b2bf8 100644 --- a/t/cdbi/testlib/ImplicitInflate.pm +++ b/t/cdbi/testlib/ImplicitInflate.pm @@ -19,6 +19,12 @@ __PACKAGE__->has_a( update_datetime => 'MyDateStamp', ); + +# Disables the implicit autoinc-on-non-supplied-pk behavior +# (and the warning that goes with it) +# This is the same behavior as it was pre 0.082900 +__PACKAGE__->column_info('id')->{is_auto_increment} = 0; + sub create_sql { # SQLite doesn't support Datetime datatypes. return qq{