Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (22 sloc) 570 Bytes
#!/usr/bin/perl
use strict;
use warnings;
use FindBin qw/$Bin/;
use lib "$Bin/../lib";
use FindmJob::Basic;
use DBIx::Class::Schema::Loader qw/ make_schema_at /;
my $dbi_config = FindmJob::Basic->config->{DBI};
make_schema_at(
'FindmJob::Schema',
{ debug => 1,
dump_directory => "$Bin/../lib",
use_moose => 0,
exclude => qr/location_alias|emails|stats_/,
moniker_parts => [qw(name)],
moniker_map => {
people => "People", # do not convert that into Person
},
},
[ @$dbi_config ]
);
1;