PREREQ_PM => {
'Test::More' => 0,
'version' => 0,
- 'DBIx::Class' => '0.08011',
+ 'DBIx::Class' => '0.08100',
'DBIx::Class::IntrospectableM2M' => 0,
'SQL::Translator' => '0.08',
'DateTime' => 0,
- 'DBD::SQLite' => 0,
+ 'DBD::SQLite' => '1.21',
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'DBIx-Class-ResultSet-RecursiveUpdate-*' },
use warnings;
package DBIx::Class::ResultSet::RecursiveUpdate;
-use version; our $VERSION = qv('0.004');
+use version; our $VERSION = qv('0.005');
use base qw(DBIx::Class::ResultSet);
$dsn ||= 'dbi:SQLite:dbname=t/var/dvdzbr.db';
warn "testing $dsn";
my $schema = __PACKAGE__->connect( $dsn, $user, $pass, {} );
- $schema->deploy({ add_drop_table => 1, });
+ $schema->deploy({ });
$schema->populate('User', [
[ qw/username name password / ],
[ 'jgda', 'Jonas Alves', ''],
"tag" => { data_type => 'integer' },
);
__PACKAGE__->set_primary_key("dvd", "tag");
-__PACKAGE__->belongs_to("dvd", "Dvd", { id => "dvd" });
-__PACKAGE__->belongs_to("tag", "Tag", { id => "tag" });
+__PACKAGE__->belongs_to("dvd", "DBSchema::Result::Dvd", { id => "dvd" });
+__PACKAGE__->belongs_to("tag", "DBSchema::Result::Tag", { id => "tag" });
1;
use RunTests;
use Test::More;
+unlink 't/var/dvdzbr.db';
my $schema = DBSchema::get_test_schema();
run_tests( $schema );