From ddaf29b696c73ad2e6365a9fd58c61d6e89b86a4 Mon Sep 17 00:00:00 2001 From: David Newell Date: Mon, 28 Oct 2024 13:49:44 +0000 Subject: [PATCH] remove postgres changes --- ...bolset_errortrackingstackframe_and_more.py | 68 ------------------- 1 file changed, 68 deletions(-) delete mode 100644 posthog/migrations/0495_errortrackingsymbolset_errortrackingstackframe_and_more.py diff --git a/posthog/migrations/0495_errortrackingsymbolset_errortrackingstackframe_and_more.py b/posthog/migrations/0495_errortrackingsymbolset_errortrackingstackframe_and_more.py deleted file mode 100644 index 8bb4007a4214c..0000000000000 --- a/posthog/migrations/0495_errortrackingsymbolset_errortrackingstackframe_and_more.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by Django 4.2.15 on 2024-10-22 15:47 - -from django.db import migrations, models -import django.db.models.deletion -import posthog.models.utils - - -class Migration(migrations.Migration): - dependencies = [ - ("posthog", "0494_team_project_non_null"), - ] - - operations = [ - migrations.CreateModel( - name="ErrorTrackingSymbolSet", - fields=[ - ( - "id", - models.UUIDField( - default=posthog.models.utils.UUIDT, editable=False, primary_key=True, serialize=False - ), - ), - ("ref", models.TextField()), - ("created_at", models.DateTimeField(auto_now_add=True)), - ("storage_method", models.TextField(choices=[("s3", "s3"), ("file", "file")], default="s3", null=True)), - ("storage_ptr", models.TextField(null=True)), - ("team", models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to="posthog.team")), - ], - ), - migrations.CreateModel( - name="ErrorTrackingStackFrame", - fields=[ - ( - "id", - models.UUIDField( - default=posthog.models.utils.UUIDT, editable=False, primary_key=True, serialize=False - ), - ), - ("raw_id", models.TextField()), - ("created_at", models.DateTimeField(auto_now_add=True)), - ("contents", models.JSONField()), - ("resolved", models.BooleanField()), - ( - "symbol_set", - models.ForeignKey( - null=True, on_delete=django.db.models.deletion.CASCADE, to="posthog.errortrackingsymbolset" - ), - ), - ("team", models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to="posthog.team")), - ], - ), - migrations.AddIndex( - model_name="errortrackingsymbolset", - index=models.Index(fields=["team_id", "id"], name="posthog_err_team_id_88810e_idx"), - ), - migrations.AddConstraint( - model_name="errortrackingsymbolset", - constraint=models.UniqueConstraint(fields=("team_id", "id"), name="unique_id_per_team"), - ), - migrations.AddIndex( - model_name="errortrackingstackframe", - index=models.Index(fields=["team_id", "raw_id"], name="posthog_err_team_id_dc6a7f_idx"), - ), - migrations.AddConstraint( - model_name="errortrackingstackframe", - constraint=models.UniqueConstraint(fields=("team_id", "raw_id"), name="unique_raw_id_per_team"), - ), - ]