use File::Spec;
BEGIN {
- eval "use DBD::SQLite; use SQL::Translator;";
+ eval "use DBD::SQLite; use SQL::Translator 0.08;";
plan $@
- ? ( skip_all => 'needs DBD::SQLite and SQL::Translator for testing' )
+ ? ( skip_all => 'needs DBD::SQLite and SQL::Translator 0.08 for testing' )
: ( tests => 6 );
}
# $schema->deploy();
my $tvrs = $schema_orig->resultset('Table');
-is($schema_orig->exists($tvrs), 1, 'Created schema from DDL file');
+is($schema_orig->_source_exists($tvrs), 1, 'Created schema from DDL file');
eval "use DBICVersionNew";
my $schema_new = DBICVersion::Schema->connect(
## do this here or let Versioned.pm do it?
$schema_upgrade->upgrade();
$tvrs = $schema_upgrade->resultset('Table');
-is($schema_upgrade->exists($tvrs), 1, 'Upgraded schema from DDL file');
+is($schema_upgrade->_source_exists($tvrs), 1, 'Upgraded schema from DDL file');
unlink($db_file) if -e $db_file;
unlink($db_file . "-journal") if -e $db_file . "-journal";