diff --git a/yamdl_playground/core/apps.py b/yamdl_playground/core/apps.py index 8200b13..39d1672 100644 --- a/yamdl_playground/core/apps.py +++ b/yamdl_playground/core/apps.py @@ -3,7 +3,6 @@ from django.db import connections from django.db.models.signals import post_save import warnings from django.utils.html import strip_tags -from django.core.management import call_command class CoreConfig(AppConfig): @@ -21,9 +20,6 @@ class CoreConfig(AppConfig): # Django doesn't like running DB queries during app initialization warnings.filterwarnings("ignore", module="django.db", category=RuntimeWarning) - # Run migrations, if there are any - call_command("migrate", verbosity=0, no_input=True) - with connection.cursor() as cursor: cursor.execute("CREATE VIRTUAL TABLE search_index USING fts5(body, content='');")