Subject: | reset_schema attempts to drop virtual views |
DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db do
failed: no such table: sys_time [for Statement "drop table sys_time"] at
/home/bfwg/perl5/perlbrew/perls/perl-
5.10.1/lib/site_perl/5.10.1/Test/DBIx/Class/SchemaManager.pm line 188
We have a Result object that is virtual, i.e. the is_virtual is set to 1
and the view_definition is an SQL statement.
__PACKAGE__->result_source_instance->is_virtual (1);
__PACKAGE__->result_source_instance->view_definition
I've made a naive patch that appears to fix the issue for us on github -
https://github.com/colinnewell/Test-DBIx-Class. Feel free to use that if
you want. I haven't added any tests to your test suite thus far.