Skip to content

Conversation

@joc-a
Copy link
Contributor

@joc-a joc-a commented Dec 18, 2024

Description

Detailed description:

  • Why: Because the length limit of identifiers is being reached sometimes with the CHECK constraint name that Exposed generates, so it is useful for users sometimes to be in control of the name.
  • How: Added a nullable String parameter checkConstraintName to column functions that create a CHECK constraint.

Type of Change

Please mark the relevant options with an "X":

  • Bug fix
  • New feature
  • Documentation update

Updates/remove existing public API methods:

  • Is breaking change

Affected databases:

  • MariaDB
  • Mysql5
  • Mysql8
  • Oracle
  • Postgres
  • SqlServer
  • H2
  • SQLite

Checklist

  • Unit tests are in place
  • The build is green (including the Detekt check)
  • All public methods affected by my PR has up to date API docs
  • Documentation for my change is up to date

Related Issues

@joc-a joc-a marked this pull request as ready for review December 18, 2024 18:46
@joc-a joc-a requested a review from bog-walk December 18, 2024 18:46
@bog-walk bog-walk merged commit ffa3eef into main Jan 7, 2025
5 checks passed
@joc-a joc-a deleted the joc/exposed-654 branch February 24, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants