-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# goerd [WIP] | ||
# goerd | ||
|
||
This tool allows you to turn schemas into instructions for the database, including migrations between schemas. Create easy-to-read data models as contracts for agreement between architects, development teams, and team leaders. This tool provides agility to change the huge data model. | ||
This tool allows you to turn schemas into instructions for the database, including migrations between schemas. Create easy-to-read data models as contracts for agreement between architects, development teams, and team leaders. This tool provides agility to change the huge data-layered models. | ||
|
||
![Conceptual view](concept.png) | ||
|
||
Features (in progress): | ||
Features: | ||
|
||
- Generating posgresql migrations as a set of SQL queries that apply changes between two schemas, a schema and a database, or two databases using a yaml schema definition | ||
- Create posgresql migrations as a set of SQL queries that apply changes between two schemas, a schema and a database, or two databases using a schema definition that is stored in a yaml or plantuml file. | ||
- Using https://github.com/jackc/pgx | ||
- Run as grpc-microservice | ||
- Use as library | ||
- [Check rules for schema](https://wiki.postgresql.org/wiki/Don't_Do_This) | ||
- [Generate CRUDs like postgrest](https://github.com/PostgREST/postgrest) | ||
|
||
Example of generated plantuml: | ||
|
||
![Plantuml view](plantuml-example.png) | ||
|
||
### API | ||
|
||
See [docs](https://pkg.go.dev/github.com/covrom/goerd). | ||
|
||
### testing and examples | ||
```docker-compose up``` and see `./output/schema.yaml` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters