Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Serialized.pm
index 41610da..1de158e 100644 (file)
@@ -1,13 +1,16 @@
-package # hide from PAUSE 
+package # hide from PAUSE
     DBICTest::Schema::Serialized;
 
-use base 'DBIx::Class::Core';
+use warnings;
+use strict;
 
-DBICTest::Schema::Serialized->table('serialized');
-DBICTest::Schema::Serialized->add_columns(
-  'id' => { data_type => 'integer' },
+use base qw/DBICTest::BaseResult/;
+
+__PACKAGE__->table('serialized');
+__PACKAGE__->add_columns(
+  'id' => { data_type => 'integer', is_auto_increment => 1 },
   'serialized' => { data_type => 'text' },
 );
-DBICTest::Schema::Serialized->set_primary_key('id');
+__PACKAGE__->set_primary_key('id');
 
 1;