diff options
Diffstat (limited to 'script/dump_schema.pl')
-rw-r--r-- | script/dump_schema.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/script/dump_schema.pl b/script/dump_schema.pl new file mode 100644 index 0000000..ec1e1bc --- /dev/null +++ b/script/dump_schema.pl @@ -0,0 +1,13 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use DBIx::Class::Schema::Loader qw/ make_schema_at /; + +make_schema_at( + 'TFLMonitor::Schema', + { + debug => 1, + dump_directory => './lib', + }, + [ 'dbi:SQLite:dbname=monitor.db', ], +); |