Skip to content

kfly8/DBIx-Schema-DSL-Dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAUTION

THIS MODULE IS NOT MAINTAINED ANYMORE. PLEASE USE SQL::Translator::Producer::DBIxSchemaDSL INSTEAD.

NAME

DBIx::Schema::DSL::Dumper - DBIx::Schema::DSL generator

SYNOPSIS

use DBIx::Schema::DSL::Dumper;

print DBIx::Schema::DSL::Dumper->dump(
    dbh => $dbh,
    pkg => 'Foo::DSL',

    # Optional. Default values is same as follows.
    default_not_null => 0,
    default_unsigned => 0,

    # Optional.
    table_options => +{
        'mysql_table_type' => 'InnoDB',
        'mysql_charset'    => 'utf8',
    }
);

# or

print DBIx::Schema::DSL::Dumper->dump(
    dbh    => $dbh,
    tables => [qw/foo bar/],
);

DESCRIPTION

This module generates the Perl code to generate DBIx::Schema::DSL.

SEE ALSO

DBIx::Schema::DSL, Teng::Schema::Dumper

LICENSE

Copyright (C) Kenta, Kobayashi.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Kenta, Kobayashi kentafly88@gmail.com

About

DBIx::Schmea::DSL generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages