Fix an obscure regression when inserting an object with a serialize-deflating column set
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Serialized.pm
index 92c210f..d7737bd 100644 (file)
@@ -5,7 +5,7 @@ use base qw/DBICTest::BaseResult/;
 
 __PACKAGE__->table('serialized');
 __PACKAGE__->add_columns(
-  'id' => { data_type => 'integer' },
+  'id' => { data_type => 'integer', is_auto_increment => 1 },
   'serialized' => { data_type => 'text' },
 );
 __PACKAGE__->set_primary_key('id');