Working on sequences
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / NoSequenceSalad / Result / Salad.pm
index 85236c5..d65c39f 100644 (file)
@@ -1,5 +1,5 @@
-package # hide from PAUSE
-       NoSequenceSalad::Result::Salad;
+package    # hide from PAUSE
+    NoSequenceSalad::Result::Salad;
 
 use strict;
 use warnings;
@@ -9,8 +9,13 @@ use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance' => 'MTI';
 __PACKAGE__->table_class(MTI);
 __PACKAGE__->table('salad');
 __PACKAGE__->add_columns(
-    "id", { data_type => "integer", is_auto_increment => 1 },
-    "fresh", { data_type => "boolean", },
+    "id",
+    {   data_type         => "integer",
+        is_auto_increment => 1,
+        #sequence  => '_salad_id_seq',
+    },
+    "fresh",
+    { data_type => "boolean", },
 );
 
 __PACKAGE__->set_primary_key("id");