Add a test lib and failing test for no explicit sequence declaration
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / Cafe / Result / Coffee.pm
index 9562ecc..9468ddb 100644 (file)
@@ -8,7 +8,7 @@ use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance' => 'MTI';
 __PACKAGE__->table_class(MTI);
 __PACKAGE__->table('coffee');
 __PACKAGE__->add_columns(
-    "id",     { data_type => "integer", is_auto_increment => 1},
+    "id",     { data_type => "integer", is_auto_increment => 1, sequence => '_coffee_id_seq'},
     "flavor", { data_type => "text",    default_value     => "good" },
 );