Skip to content

dimitri/getddl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages