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,
},
);