-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Migrate BatchExportDestination config to EncryptedJsonField (#27407
- Loading branch information
1 parent
7a44792
commit 18fc4ef
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
posthog/migrations/0543_alter_batchexportdestination_config.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 4.2.15 on 2025-01-09 16:25 | ||
|
||
from django.db import migrations | ||
|
||
import posthog.helpers.encrypted_fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("posthog", "0542_remove_errortrackingissueassignment_unique_on_user_and_issue_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="batchexportdestination", | ||
name="config", | ||
field=posthog.helpers.encrypted_fields.EncryptedJSONField( | ||
blank=True, | ||
default=dict, | ||
help_text="A JSON field to store all configuration parameters required to access a BatchExportDestination.", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0542_remove_errortrackingissueassignment_unique_on_user_and_issue_and_more | ||
0543_alter_batchexportdestination_config |