Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 68717
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: michael.du-pont [...] dress-for-less.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: enums not being read from the database on DBIx::Class::Schema::Loader
CREATE TABLE `test123` ( `field` enum('11,10 (<500)/0 DUN','4,90 (<120)/0 EUR') NOT NULL default '11,10 (<500)/0 DUN', ) ----------------------- Dump It : dbicdump -o dump_directory=./test -o components='["InflateColumn::DateTime"]' Test::Schema::Test "dbi:mysql:database=TEST" user password '{ quote_char => "`" }' Output : ----------------------- Test::Schema::Test::Result::Test123 __PACKAGE__->add_columns( "field", { data_type => "enum", default_value => "11,10 (<500)/0 DUN", extra => { list => [] }, is_nullable => 0, }, );
Fixed in git.
From: michael.du-pont [...] dress-for-less.de
On Fri Jun 10 00:57:18 2011, RKITOVER wrote: Show quoted text
> Fixed in git.
Here is the next test case: create table test2 (nextproblem enum('12 ABC (EFG)','14 CDF (FUNKY)','NO') NOT NULL default 'NO') result : __PACKAGE__->add_columns( "nextproblem", { data_type => "enum", default_value => "NO", extra => { list => [] }, is_nullable => 0, }, );
Fixed in 0.07011, if there are any more issues feel free to reopen the ticket.