Azure-Samples / azure-django-postgres-flexible-aca

Web app using Python Django backend, set up for deployment to Azure Container Apps with Azure PostgreSQL Flexible Server.
MIT License
15 stars 31 forks source link

cruft update fails #56

Closed kjaymiller closed 1 year ago

kjaymiller commented 1 year ago

cruft update commit - 45c73ff8cd7133b0262926b7f3a1b7e8ecffe82d results in failure:

[63998 ms] Start: Run in container: /bin/sh -c python src/manage.py migrate && python src/manage.py loaddata src/seed_data.json Operations to perform: Apply all migrations: admin, auth, contenttypes, relecloud, sessions Running migrations: Applying relecloud.0005_cruise_subtitle_destination_subtitle...Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 87, in _execute return self.cursor.execute(sql) ^^^^^^^^^^^^^^^^^^^^^^^^ psycopg2.errors.UniqueViolation: could not create unique index "relecloud_cruise_subtitle_key" DETAIL: Key (subtitle)=() is duplicated.

pamelafox commented 1 year ago

All good now