Skip to content

Commit ffc971a

Browse files
committed
fix(surveys): simplify migration 0905 to only add column
1 parent 873f786 commit ffc971a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

posthog/migrations/0905_survey_add_linked_insight.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ class Migration(migrations.Migration):
3737
ALTER TABLE "posthog_survey" DROP COLUMN IF EXISTS "linked_insight_id";
3838
""",
3939
),
40-
migrations.RunSQL(
41-
"""
42-
CREATE INDEX CONCURRENTLY IF NOT EXISTS "posthog_survey_linked_insight_id_586524f3" ON "posthog_survey" ("linked_insight_id");
43-
""",
44-
reverse_sql="""
45-
DROP INDEX IF EXISTS "posthog_survey_linked_insight_id_586524f3";
46-
""",
47-
),
4840
],
4941
)
5042
]

0 commit comments

Comments
 (0)