Skip to content

Commit

Permalink
include settings migration
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Jan 3, 2024
1 parent 6f695be commit cd3bc4a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion latest_migrations.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ contenttypes: 0002_remove_content_type_name
ee: 0015_add_verified_properties
otp_static: 0002_throttling
otp_totp: 0002_auto_20190420_0723
posthog: 0379_alter_scheduledchange
posthog: 0380_add_session_recording_config_to_team
sessions: 0001_initial
social_django: 0010_uid_db_index
two_factor: 0007_auto_20201201_1019
17 changes: 17 additions & 0 deletions posthog/migrations/0380_add_session_recording_config_to_team.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.19 on 2024-01-03 16:51

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("posthog", "0379_alter_scheduledchange"),
]

operations = [
migrations.AddField(
model_name="team",
name="session_recording_config",
field=models.JSONField(blank=True, null=True),
),
]
1 change: 1 addition & 0 deletions posthog/models/team/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ class Team(UUIDClassicModel):
)
session_recording_linked_flag: models.JSONField = models.JSONField(null=True, blank=True)
session_recording_network_payload_capture_config: models.JSONField = models.JSONField(null=True, blank=True)
session_recording_config: models.JSONField = models.JSONField(null=True, blank=True)
capture_console_log_opt_in: models.BooleanField = models.BooleanField(null=True, blank=True)
capture_performance_opt_in: models.BooleanField = models.BooleanField(null=True, blank=True)
surveys_opt_in: models.BooleanField = models.BooleanField(null=True, blank=True)
Expand Down

0 comments on commit cd3bc4a

Please sign in to comment.