Skip to content

feat(encryption): Add EncryptedTextField for encrypting text fields#106765

Merged
vgrozdanic merged 1 commit intomasterfrom
feat/encrypted-text-field
Jan 26, 2026
Merged

feat(encryption): Add EncryptedTextField for encrypting text fields#106765
vgrozdanic merged 1 commit intomasterfrom
feat/encrypted-text-field

Conversation

@vgrozdanic
Copy link
Member

@vgrozdanic vgrozdanic commented Jan 22, 2026

Add EncryptedTextField that extends both EncryptedField and TextField, enabling encryption of text columns without changing the underlying PostgreSQL column type.

This follows the same pattern as EncryptedCharField and EncryptedJSONField.

Add EncryptedTextField that extends both EncryptedField and TextField,
allowing encryption of text columns without changing the underlying
PostgreSQL column type (text -> text is safe, unlike text -> varchar).

This is needed for migrating existing TextField columns to encrypted
fields without triggering unsafe ALTER COLUMN TYPE operations.
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 22, 2026
@vgrozdanic vgrozdanic changed the title feat(db): Add EncryptedTextField for encrypting text fields feat(encryption): Add EncryptedTextField for encrypting text fields Jan 22, 2026
@vgrozdanic vgrozdanic marked this pull request as ready for review January 22, 2026 11:20
@vgrozdanic vgrozdanic requested review from a team and oioki January 22, 2026 11:55
@vgrozdanic vgrozdanic merged commit 4bb5e07 into master Jan 26, 2026
69 checks passed
@vgrozdanic vgrozdanic deleted the feat/encrypted-text-field branch January 26, 2026 07:25
dashed pushed a commit that referenced this pull request Jan 26, 2026
…106765)

Add `EncryptedTextField` that extends both `EncryptedField` and
`TextField`, enabling encryption of text columns without changing the
underlying PostgreSQL column type.


This follows the same pattern as `EncryptedCharField` and
`EncryptedJSONField`.
dashed pushed a commit that referenced this pull request Jan 26, 2026
…106765)

Add `EncryptedTextField` that extends both `EncryptedField` and
`TextField`, enabling encryption of text columns without changing the
underlying PostgreSQL column type.


This follows the same pattern as `EncryptedCharField` and
`EncryptedJSONField`.
JonasBa pushed a commit that referenced this pull request Jan 27, 2026
…106765)

Add `EncryptedTextField` that extends both `EncryptedField` and
`TextField`, enabling encryption of text columns without changing the
underlying PostgreSQL column type.


This follows the same pattern as `EncryptedCharField` and
`EncryptedJSONField`.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants