JetBrains / JetBrains/Exposed

API to compare actual schema with code-generated schema

Open
#377 6 comments 11 reactions 1 assignee Claimed by @Tapac View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.