how did I miss this?
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / lib / DBICVersion_v2.pm
index 602a1c3..43ac967 100644 (file)
@@ -1,4 +1,4 @@
-package DBICVersion::Foo;
+package DBICVersion::Foo2;
 
 use base 'DBIx::Class::Core';
 use strict;
@@ -7,31 +7,36 @@ use warnings;
 __PACKAGE__->table('Foo');
 
 __PACKAGE__->add_columns(
-       foo => {
-               data_type => 'INTEGER',
-               is_auto_increment => 1,
-       },
-       bar => {
-               data_type => 'VARCHAR',
-               size => '10'
-       },
-       baz => {
-               data_type => 'VARCHAR',
-               size => '10',
-               is_nullable => 1,
-       },
+   foo => {
+      data_type => 'INTEGER',
+      is_auto_increment => 1,
+   },
+   bar => {
+      data_type => 'VARCHAR',
+      size => '10'
+   },
+   baz => {
+      data_type => 'VARCHAR',
+      size => '10',
+      is_nullable => 1,
+   },
+   doomed => {
+      data_type => 'VARCHAR',
+      size => '10',
+      is_nullable => 1,
+   },
 );
 
 __PACKAGE__->set_primary_key('foo');
 
-package DBICVersion::Schema;
+package DBICVersion::Schema2;
 use base 'DBIx::Class::Schema';
 use strict;
 use warnings;
 
 our $VERSION = '2.0';
 
-__PACKAGE__->register_class('Foo', 'DBICVersion::Foo');
+__PACKAGE__->register_class('Foo', 'DBICVersion::Foo2');
 __PACKAGE__->load_components('DeploymentHandler::VersionStorage::Standard::Component');
 
 1;