[Dbix-class] Undetermined deployment statements
Konstantin A. Pustovalov
lamoz at adriver.ru
Tue Apr 9 10:19:02 GMT 2013
I have noticed strange behavior of $schema->deploy (actually my tests
started to fail after DBIC upgrade).
my $schema = Schema->connect( 'dbi:SQLite:dbmane=:memory:' );
$schema->deploy({ add_drop_table => 1 });
produces "DROP TABLE some_table" statements
while
my $schema = Schema->connect( 'dbi:SQLite:dbmane=:memory:' );
$schema->storage->ensure_connected;
$schema->deploy({ add_drop_table => 1 });
produces "DROP TABLE IF EXISTS some_table"
Have no idea of where to commit this bug to (perhaps SQL::Translator?)
DBIC 0.08210
DBD::SQLite 1.37
SQL::Translator 0.11016
More information about the DBIx-Class
mailing list