diff options
author | dakkar <dakkar@thenautilus.net> | 2010-06-21 23:20:31 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2010-06-21 23:20:31 +0100 |
commit | d5d36bac73f37a92d4ee2d18a807b2acbccf16f3 (patch) | |
tree | c007ce45296d350f43a2bd3afbae7ecb41dff90f /script/dump_schema.pl | |
download | TFLMonitor-d5d36bac73f37a92d4ee2d18a807b2acbccf16f3.tar.gz TFLMonitor-d5d36bac73f37a92d4ee2d18a807b2acbccf16f3.tar.bz2 TFLMonitor-d5d36bac73f37a92d4ee2d18a807b2acbccf16f3.zip |
initial version
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', ], +); |