Subject: | Install fails with older SQL::Translator and current DBIx::Class |
Not sure if the bug is actually here or in DBIC.
I have the current DBIx::Class 0.08122 while SQL::Translator is 0.11005.
[...]
Checking if you have SQL::Translator 0 ... Yes (0.11005)
[...]
Test fails here:
# Failed test 'deploy schema'
# at t/08-dbic-mappedfields.t line 32.
# died: DBIx::Class::Exception (DBIx::Class::Schema::deploy(): Can't
deploy without a ddl_dir or SQL::Translator >= 0.11006 (see
DBIx::Class::Optional::Dependencies for details) at
t/08-dbic-mappedfields.t line 32
# )
DBIx::Class::ResultSet::create(): DBI Exception: DBD::SQLite::db
prepare_cached failed: no such table: user [for Statement "INSERT INTO
user ( password, user_name) VALUES ( ?, ? )"] at
t/08-dbic-mappedfields.t line 34
# Tests were run but no plan was declared and done_testing() was not seen.
t/08-dbic-mappedfields.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/4 subtests
Installing the recent SQL::Translator is 0.11006 fixed the problem.