Subject: | DBIx::DBSchema::Table still calling newly deprecated API. |
Date: | Wed, 4 Jul 2007 14:37:09 -0400 |
To: | bug-dbix-dbschema [...] rt.cpan.org |
From: | Jesse Vincent <jesse [...] bestpractical.com> |
As I'm updating Jifty::DBI for the latest changes in DBIx::DBSchema,
it looks like you're still calling the old ->unique and ->index APIs
from within sql_create_table. Which makes my tests scream. Or am I
doing something wrong?
Best,
Jesse
[debugging output is from flipping carps to clucks]
DBIx::DBSchema::Table->unique method is deprecated; see ->indices at /
opt/local/lib/perl5/site_perl/5.8.8/DBIx/DBSchema/Table.pm line 384
DBIx::DBSchema::Table::unique('DBIx::DBSchema::Table=HASH
(0x196f6c8)') called at /opt/local/lib/perl5/site_perl/5.8.8/DBIx/
DBSchema/Table.pm line 523
DBIx::DBSchema::Table::sql_create_table
('DBIx::DBSchema::Table=HASH(0x196f6c8)', 'DBI::db=HASH(0x195f124)')
called at /opt/local/lib/perl5/site_perl/5.8.8/DBIx/DBSchema.pm line 237
DBIx::DBSchema::sql('DBIx::DBSchema=HASH(0x195f790)',
'DBI::db=HASH(0x195f124)') called at lib/Jifty/DBI/SchemaGenerator.pm
line 222
Jifty::DBI::SchemaGenerator::create_table_sql_statements
('Jifty::DBI::SchemaGenerator=HASH(0x196ba34)') called at lib/Jifty/
DBI/SchemaGenerator.pm line 237
Jifty::DBI::SchemaGenerator::create_table_sql_text
('Jifty::DBI::SchemaGenerator=HASH(0x196ba34)') called at t/
10schema.t line 124
Message body not shown because it is not plain text.