prutheus opened a new issue, #43806:
URL: https://github.com/apache/airflow/issues/43806

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Updating to latest `ghcr.io/apache/airflow/main/prod/python3.11:latest` 
version, a db migration is required which fails:
   
   ```
   sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) 
constraint "dsdar_dag_id_fkey" of relation "dag_schedule_asset_alias_reference" 
does not exist
   
   [SQL: ALTER TABLE dag_schedule_asset_alias_reference DROP CONSTRAINT 
dsdar_dag_id_fkey]
   ```
   
   ### What you think should happen instead?
   
   Expected behaviour is a successful database migration.
   
   ### How to reproduce
   
   Update to latest docker image.
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   ghcr.io/apache/airflow/main/prod/python3.11:latest
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to