-package DBICTest::OneKey;
+package # hide from PAUSE
+ DBICTest::Schema::OneKey;
-use base 'DBIx::Class::Core';
+use warnings;
+use strict;
-DBICTest::OneKey->table('onekey');
-DBICTest::OneKey->add_columns(qw/id artist cd/);
-DBICTest::OneKey->set_primary_key('id');
+use base qw/DBICTest::BaseResult/;
+
+__PACKAGE__->table('onekey');
+__PACKAGE__->add_columns(
+ 'id' => {
+ data_type => 'integer',
+ is_auto_increment => 1,
+ },
+ 'artist' => {
+ data_type => 'integer',
+ },
+ 'cd' => {
+ data_type => 'integer',
+ },
+);
+__PACKAGE__->set_primary_key('id');
1;