Skip to content

Commit

Permalink
add private_data field to ExtraUserDetail
Browse files Browse the repository at this point in the history
  • Loading branch information
LMNTL authored and jnm committed Jul 18, 2023
1 parent 65de0b1 commit b199d99
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions hub/migrations/0011_extrauserdetail_private_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.15 on 2023-07-05 18:37

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('hub', '0010_do_nothing'),
]

operations = [
migrations.AddField(
model_name='extrauserdetail',
name='private_data',
field=models.JSONField(default=dict),
),
]
1 change: 1 addition & 0 deletions hub/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class ExtraUserDetail(StandardizeSearchableFieldMixin, models.Model):
related_name='extra_details',
on_delete=models.CASCADE)
data = models.JSONField(default=dict)
private_data = models.JSONField(default=dict)
date_removal_requested = models.DateTimeField(null=True)
date_removed = models.DateTimeField(null=True)

Expand Down

0 comments on commit b199d99

Please sign in to comment.