[Dbix-class] Undetermined deployment statements

2013-04-09 Thread Konstantin A. Pustovalov
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(

Re: [Dbix-class] Undetermined deployment statements

2013-04-09 Thread Peter Rabbitson
On Tue, Apr 09, 2013 at 02:19:02PM +0400, Konstantin A. Pustovalov wrote: I have noticed strange behavior of $schema-deploy (actually my tests started to fail after DBIC upgrade). You are on a roll today eh? :) Try this please: diff --git a/lib/DBIx/Class/Storage/DBI.pm

Re: [Dbix-class] Undetermined deployment statements

2013-04-09 Thread Konstantin A. Pustovalov
09.04.2013 14:31, Peter Rabbitson пишет: On Tue, Apr 09, 2013 at 02:19:02PM +0400, Konstantin A. Pustovalov wrote: I have noticed strange behavior of $schema-deploy (actually my tests started to fail after DBIC upgrade). You are on a roll today eh? :) indeed! Try this please: success

Re: [Dbix-class] Undetermined deployment statements

2013-04-09 Thread Peter Rabbitson
On Tue, Apr 09, 2013 at 02:19:02PM +0400, Konstantin A. Pustovalov wrote: I have noticed strange behavior of $schema-deploy (actually my tests started to fail after DBIC upgrade). Fixed by https://github.com/dbsrgits/dbix-class/commit/3e33d1f3285 Will appear on CPAN as part of 0.08250 before