fix: migration fixes

This commit is contained in:
NarayanBavisetti 2023-11-16 12:45:39 +05:30
parent 2028f3ede2
commit cd8f1eb952
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ import uuid
class Migration(migrations.Migration):
dependencies = [
('db', '0046_alter_analyticview_created_by_and_more'),
('db', '0047_webhook_apitoken_description_apitoken_expired_at_and_more'),
]
operations = [
@ -51,4 +51,4 @@ class Migration(migrations.Migration):
name='parent',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='parent_page', to='db.page'),
),
]
]

View File

@ -64,9 +64,9 @@ def update_pages(apps, schema_editor):
class Migration(migrations.Migration):
dependencies = [
("db", "0047_issuemention_pagelog_page_archived_at_page_is_locked_and_more"),
("db", "0048_auto_20231116_0713"),
]
operations = [
migrations.RunPython(update_pages),
]
]