Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBPIH-6045 Updated openboxes.dbml file using schema-export and sql2db… #4604

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jmiranda
Copy link
Member

…ml (see #4094)

@jmiranda
Copy link
Member Author

There's no need to comment on the PR, but I've added you as reviewers to brainstorm what we can do to automate the process documented in #4094. I don't want to automate committing changes to the dbml file here in the repo. I'd rather export that to GH packages or some temporary file store and then have github actions pull that artifact when running dbdocs.

Table "address" {
"id" char(38) [pk, not null, default: ""]
"version" bigint(20) [not null]
"id" varchar(255) [pk, not null]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bummer. I just noticed that Hibernate's schema-export does do exactly what our database migrations do, so I'm going to need to run the migrations (maybe on a testcontainer) and then use mysqldump to get a more precise DDL file to convent to DBML.

@awalkowiak awalkowiak changed the base branch from feature/upgrade-to-grails-3.3.10 to develop May 17, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants