X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=t%2Flib%2FDBICVersion_v2.pm;h=43ac9670c1cbed9ad5a7d578a42bbc7c635d5b51;hp=602a1c38ec6f4187a9cdaff43ff7bbcf4c7114fd;hb=cdb45dee99a52a37f6e61bfbec2e4af8f3a59f51;hpb=087d8c8a1a623567fc60a3d61cc8cff0bfdb90be diff --git a/t/lib/DBICVersion_v2.pm b/t/lib/DBICVersion_v2.pm index 602a1c3..43ac967 100644 --- a/t/lib/DBICVersion_v2.pm +++ b/t/lib/DBICVersion_v2.pm @@ -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;