API to compare actual schema with code-generated schema
Open
enhancement
good-first-issue
- Dominant language
- Kotlin
- Stars
- 9.3k
- Forks
- 798
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 26
Description
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`
Contributor guide
Assessment
This issue has not been assessed yet.