Skip to content

Commit 03fb4a5

Browse files
committed
Fix migration and update spectrum status default value, temporarily disable migrations
1 parent 72c08ae commit 03fb4a5

File tree

3 files changed

+4
-28
lines changed

3 files changed

+4
-28
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
release: python backend/manage.py migrate --noinput
1+
# release: python backend/manage.py migrate --noinput
22
worker: celery --workdir backend --app fpbase worker --concurrency 4 --without-gossip --without-mingle --without-heartbeat
33
web: gunicorn --chdir backend config.wsgi:application

backend/proteins/migrations/0055_spectrum_status_spectrum_status_changed.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated by Django 4.2.1 on 2024-09-20 14:26
1+
# Generated by Django 4.2.1 on 2024-10-01 16:26
22

33
from django.db import migrations
44
import django.utils.timezone
@@ -17,11 +17,11 @@ class Migration(migrations.Migration):
1717
name="status",
1818
field=model_utils.fields.StatusField(
1919
choices=[
20-
("pending", "pending"),
2120
("approved", "approved"),
21+
("pending", "pending"),
2222
("rejected", "rejected"),
2323
],
24-
default="pending",
24+
default="approved",
2525
max_length=100,
2626
no_check_for_status=True,
2727
verbose_name="status",

backend/proteins/migrations/0056_auto_20240920_1426.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)