Skip to content

Commit c95e730

Browse files
committed
Fixes
Signed-off-by: 0ssigeno <[email protected]>
1 parent 431c65c commit c95e730

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

api_app/migrations/0061_job_depth_analysis.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ class Migration(migrations.Migration):
6161
operations = [
6262
migrations.SeparateDatabaseAndState(
6363
database_operations=[
64-
migrations.RunSQL(
65-
"CREATE UNIQUE INDEX IF NOT EXISTS api_app_job_path_f745a786_uniq ON api_app_job USING btree (path)"
66-
),
6764
migrations.RunPython(migrate, migrations.RunPython.noop),
6865
],
6966
state_operations=[

api_app/migrations/0062_alter_parameter_python_module.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ class Migration(migrations.Migration):
1919
to="api_app.pythonmodule",
2020
),
2121
),
22+
migrations.AlterField(
23+
model_name="job",
24+
name="path",
25+
field=models.CharField(max_length=255, unique=True),
26+
),
2227
]

docker/entrypoints/uwsgi.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ done
77

88
# Apply database migrations
99
echo "Waiting for db to be ready..."
10-
sleep 3
1110
# makemigrations is needed only for the durin package.
1211
# The customization of the parameters is not applied until the migration is done
1312
python manage.py makemigrations durin

0 commit comments

Comments
 (0)