开发者

Catalyst: How do I make DBIx::Class::Schema::Loader::make_schema_at() static preserve case?

开发者 https://www.devze.com 2023-01-07 05:18 出处:网络
I\'d like to be able to force the PACK开发者_运维技巧AGE->add_columns() to not lc everything.I know there\'s a preserve_case option, but I can\'t figure out where to put it. Is there a \'myproj_schem

I'd like to be able to force the PACK开发者_运维技巧AGE->add_columns() to not lc everything. I know there's a preserve_case option, but I can't figure out where to put it. Is there a 'myproj_schema.pl' file I can create in /conf ?


make_schema_at(
    'My::Schema',
    {   dump_directory  => "$FindBin::Bin/../lib/",
        use_namespaces  => 1,
        preserve_case   => 1,
        },
    $connect_info
    );
0

精彩评论

暂无评论...
验证码 换一张
取 消