Regenerate SQLite testschema ddl with explicit quoting and generate FKs
[dbsrgits/DBIx-Class.git] / maint / gen_schema
1 #!/usr/bin/env perl
2
3 use strict;
4 use warnings;
5 use lib qw(lib t/lib);
6
7 use DBICTest::Schema;
8 use SQL::Translator;
9
10 my $schema = DBICTest::Schema->connect;
11 print scalar ($schema->storage->deployment_statements(
12   $schema,
13   'SQLite',
14   undef,
15   undef,
16   {
17     producer_args => { no_transaction => 1 },
18     quote_identifiers => 1,
19     no_comments => 1,
20   },
21 ));