Skip to content

Conversation

bmispelon
Copy link
Member

Trac ticket number

ticket-36350

Branch description

This PR changes the logic in BaseDatabaseSchemaEditor._field_db_check() to make use of Field.db_check() instead of looking up constraints in connection.data_type_check_constraints. This re-enable custom fields being able to manage their own constraints.

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

@bmispelon bmispelon force-pushed the ticket/36350-schema-alter-field-custom-field-constraint branch from 508af06 to 099abcb Compare April 25, 2025 11:49
@bmispelon bmispelon force-pushed the ticket/36350-schema-alter-field-custom-field-constraint branch 2 times, most recently from 13ea25a to b0467f2 Compare April 25, 2025 22:32
@bmispelon bmispelon force-pushed the ticket/36350-schema-alter-field-custom-field-constraint branch from b0467f2 to a74954a Compare April 26, 2025 09:50
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.

1 participant