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

API to compare actual schema with code-generated schema #377

Open
jonnyzzz opened this issue Aug 31, 2018 · 2 comments
Open

API to compare actual schema with code-generated schema #377

jonnyzzz opened this issue Aug 31, 2018 · 2 comments

Comments

@jonnyzzz
Copy link
Member

The org.jetbrains.exposed.sql.SchemaUtils#createMissingTablesAndColumns method helps to make sure the schema is correct and to convert it to achieve the goal.

Sometimes it makes sense to have more detailed manual converters for the database. The problem right now is that one cannot check if the converters sequence turned a database to be the same as the current schema.

It looks like the org.jetbrains.exposed.sql.SchemaUtils#createMissingTablesAndColumns method has enough to be turned into such an assertion method, e.g. assertSchemaIsCorrect

@Tapac Tapac self-assigned this Sep 4, 2018
@AncutaIoan
Copy link

Hi there, is this still an issue? Would it be alright for me to look into it?

@joc-a
Copy link
Collaborator

joc-a commented Jun 26, 2023

Hi @AncutaIoan. Yes, this issue is still up for grabs, so feel free to go ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants