Skip to content

michal-josef-spacek/App-Schema-Deploy

Repository files navigation

NAME
    schema-deploy - Script to deploy Schema.

SYNOPSIS
     schema-deploy [-d] [-h] [-p password] [-q] [-u user] [-v schema_version] [--version] dsn schema_module

ARGUMENTS
    *       "-d"

            Drop tables before deploy.

    *       "-h"

            Print help.

    *       "-p password"

            Database password.

    *       "-q"

            Quiet mode.

    *       "-u user"

            Database user.

    *       "-v schema_version"

            Schema version. Only if Schema object is versioned by
            Schema::Abstract. Default value is latest schema version.

    *       "--version"

            Print version of script.

    *       "dsn"

            Database DSN. e.g. dbi:SQLite:dbname=ex1.db

    *       "schema_module"

            Name of Schema module. Must be a 'DBIx::Class::Schema' instance.

EXAMPLE
     schema-deploy dbi:SQLite:dbname=commons.vote.db Schema::Commons::Vote

SEE ALSO
    schema-data
        Script to manipulation with data for Schema.

REPOSITORY
    <https://github.com/michal-josef-spacek/App-Schema-Deploy>

AUTHOR
    Michal Josef Špaček <mailto:skim@cpan.org>

    <http://skim.cz>

LICENSE AND COPYRIGHT
    © 2022-2024 Michal Josef Špaček

    BSD 2-Clause License

VERSION
    0.06

About

Base class and script for Schema deploy.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages