https://github.com/kohrongying/data-dictionary-generator
https://github.com/kohrongying/data-dictionary-generator
bash data
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kohrongying/data-dictionary-generator
- Owner: kohrongying
- Created: 2022-03-28T10:48:14.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T09:05:34.000Z (about 3 years ago)
- Last Synced: 2025-01-27T22:14:30.270Z (4 months ago)
- Topics: bash, data
- Language: JavaScript
- Homepage:
- Size: 384 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DD Generator with Flyway and Bash
### Problem:
Generating data dictionary from scratch### Pre-requisites:
- Using flyway for migrations
- Installed docker and docker-compose### How to use
```
make init
Enter absolute file path containing migration scripts:
ex: /Users/rongying/Documents/some-java-api/src/main/resources/db/migration
```# Interesting
`psql -t` means to pset tuples_only (no header and no footer)
`psql -c` to run one psql command
`psql -f` to run one psql file# Enhancements
[x] specify database and schema
[x] get index
[x] get primary key1. combine table json output for table
2. get foreign key