Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dimitri/getddl

Get the DDL from a live database and split them in files and directories
https://github.com/dimitri/getddl

Last synced: 2 months ago
JSON representation

Get the DDL from a live database and split them in files and directories

Awesome Lists containing this project

README

        

Usage: getddl [--version] [--help] [option ...] [schema ...]

Options:
--version show getddl version
--help show getddl help
-a, --all -rvsft
-r, --tables Extract Tables
-v, --views Extract Views
-s, --sequences Extract Sequences
-f, --functions Extract Functions
-t, --triggers Extract Triggers
-R TABLESDIR, --tables-dir=TABLESDIR
Tables dir
-V VIEWSDIR, --views-dir=VIEWSDIR
Views dir
-S SEQUENCESDIR, --sequences-dir=SEQUENCESDIR
Sequences dir
-F FUNCTIONSDIR, --functions-dir=FUNCTIONSDIR
Functions dir
-T TRIGGERSDIR, --triggers-dir=TRIGGERSDIR
Triggers dir
-d DB, --database=DB Database to extract (mandatory)
-h HOST, --host=HOST hostname
-p PORT, --port=PORT TCP Port
-U USERNAME, --username=USERNAME
DB User Name