Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7638] Drop background_task tables #2542

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion adhocracy-plus/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"easy_thumbnails",
"ckeditor",
"ckeditor_uploader",
"background_task",
"parler",
# Wagtail cms components
"wagtail.contrib.forms",
Expand Down
17 changes: 17 additions & 0 deletions apps/contrib/migrations/0001_drop_background_task_table.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.20 on 2023-11-09 07:46

from django.db import migrations


class Migration(migrations.Migration):
dependencies = []

operations = [
migrations.RunSQL(
m4ra marked this conversation as resolved.
Show resolved Hide resolved
sql=[
"DROP TABLE IF EXISTS background_task",
"DROP TABLE IF EXISTS background_task_completedtask",
],
reverse_sql=migrations.RunSQL.noop,
)
]
Empty file.
5 changes: 5 additions & 0 deletions changelog/7638.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Removed

- background_task_completedtask and background_task tables
- background_task app from the settings
- background_task app from the requirements
1 change: 0 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ redis==5.0.0
Django==3.2.19
django-allauth==0.54.0
git+https://github.com/liqd/django-autoslug.git@liqd2212#egg=django-autoslug
django-background-tasks==1.2.5
django-ckeditor==6.5.1
django-filter==22.1
django-widget-tweaks==1.4.12
Expand Down
Loading