Catalyst-Authentication-Credential-RedmineCookie
view release on metacpan or search on metacpan
etc/mycontainer.pl view on Meta::CPAN
# Not required for NullStore.
# 'Model::DBIC' => {
# schema_class => "Catalyst::Authentication::RedmineCookie::Schema",
# connect_info => [
# "DBI:mysql:database=redmine", 'user', 'pass',
# {
# RaiseError => 1,
# PrintError => 0,
# AutoCommit => 1,
# pg_enable_utf8 => 1, # for pg
# mysql_enable_utf8 => 1, # for mysql
# }
# ],
# },
},
};
lib/Catalyst/Authentication/Credential/RedmineCookie.pm view on Meta::CPAN
# Not required for NullStore.
'Model::DBIC' => {
schema_class => "Catalyst::Authentication::RedmineCookie::Schema",
connect_info => [
"DBI:mysql:database=redmine", 'user', 'pass',
{
RaiseError => 1,
PrintError => 0,
AutoCommit => 1,
pg_enable_utf8 => 1, # for pg
mysql_enable_utf8 => 1, # for mysql
}
],
},
);
__PACKAGE__->setup(
'Authentication',
);
package TestApp::Controller::Root;
use base qw(Catalyst::Controller);
script/schema_loader.pl view on Meta::CPAN
# on_connect_do => [
# # Mac
# #"set lc_time = 'ja_JP'",
# # FreeBSD
# "set lc_time = 'ja_JP.UTF-8'",
# ],
RaiseError => 1 ,
PrintError => 0 ,
AutoCommit => 1 ,
pg_enable_utf8 => 1 ,
mysql_enable_utf8 => 1 ,
},
],
);
( run in 0.261 second using v1.01-cache-2.11-cpan-00829025b61 )