Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dimitri/getddl
- Owner: dimitri
- Created: 2010-11-25T22:11:46.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-03-08T09:10:33.000Z (almost 13 years ago)
- Last Synced: 2024-08-14T07:08:55.771Z (4 months ago)
- Language: Python
- Homepage:
- Size: 124 KB
- Stars: 13
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- jimsghstars - dimitri/getddl - Get the DDL from a live database and split them in files and directories (Python)
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