Can schemacrawler generate ERD based on input sql file? #819
Answered
by
sualeh
ashwini-desai
asked this question in
Q&A
|
I have a use case to auto generate ERD during CI. For this, I already have schema sql file generated. |
Answered by
sualeh
Aug 4, 2022
Replies: 1 comment
|
@ashwini-desai No, SchemaCrawler is designed to run against a live database or an offline snapshot. You could consider spinning up a Docker container with your database during the CI build and initialize with your script. Then you can spin SchemaCrawler also in a Docker container and run against the database. What database are you using, and what CI/ CD system? |
0 replies
Answer selected by
ashwini-desai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ashwini-desai No, SchemaCrawler is designed to run against a live database or an offline snapshot. You could consider spinning up a Docker container with your database during the CI build and initialize with your script. Then you can spin SchemaCrawler also in a Docker container and run against the database.
What database are you using, and what CI/ CD system?