Potential fix for schema deploy issue

This commit is contained in:
Matthew Connelly 2015-11-14 05:16:46 +00:00
parent 4d7adc1cef
commit 69489585bf
1 changed files with 2 additions and 0 deletions

View File

@ -13,7 +13,9 @@ my $lastexpunge = 0;
sub DeploySchema {
# TODO: figure out how to ensure schema is deployed without producing "table already exists" errors when it is already deployed
no warnings;
eval {schema->deploy};
use warnings;
}
sub DateTimeToQueryable {
my $dt = DateTime->now(time_zone => config->{tz});