aboutsummaryrefslogtreecommitdiffstats
path: root/db/rerun_dbic_loader.pl
diff options
context:
space:
mode:
Diffstat (limited to 'db/rerun_dbic_loader.pl')
-rwxr-xr-xdb/rerun_dbic_loader.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/rerun_dbic_loader.pl b/db/rerun_dbic_loader.pl
index 1eff12d9e..9ee029668 100755
--- a/db/rerun_dbic_loader.pl
+++ b/db/rerun_dbic_loader.pl
@@ -27,7 +27,10 @@ my @tables_to_ignore = (
my $exclude = '^(?:' . join( '|', @tables_to_ignore ) . ')$';
make_schema_at(
- 'FixMyStreet::DB::Schema',
+ # Something funny here if you use FixMyStreet::DB::Schema, where it should be,
+ # as it tries to dump it twice and dies on reload; with this, it works, but
+ # then the changes to DB.pm need removing
+ 'FixMyStreet::DB',
{
debug => 0, # switch on to be chatty
dump_directory => './perllib', # edit files in place