missing svk add
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / FourKeys.pm
index 2069280..f9112fa 100644 (file)
@@ -1,9 +1,14 @@
-package DBICTest::FourKeys;
+package DBICTest::Schema::FourKeys;
 
 use base 'DBIx::Class::Core';
 
-DBICTest::FourKeys->table('fourkeys');
-DBICTest::FourKeys->add_columns(qw/foo bar hello goodbye/);
-DBICTest::FourKeys->set_primary_key(qw/foo bar hello goodbye/);
+DBICTest::Schema::FourKeys->table('fourkeys');
+DBICTest::Schema::FourKeys->add_columns(
+  'foo' => { data_type => 'integer' },
+  'bar' => { data_type => 'integer' },
+  'hello' => { data_type => 'integer' },
+  'goodbye' => { data_type => 'integer' },
+);
+DBICTest::Schema::FourKeys->set_primary_key(qw/foo bar hello goodbye/);
 
 1;