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

https://github.com/kohrongying/data-dictionary-generator


https://github.com/kohrongying/data-dictionary-generator

bash data

Last synced: about 2 months ago
JSON representation

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 key

1. combine table json output for table
2. get foreign key