[ https://issues.apache.org/jira/browse/AIRFLOW-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Imberman closed AIRFLOW-18. ---------------------------------- Resolution: Auto Closed > Alembic's constraints and indexes are unnamed thus hard to drop or change > ------------------------------------------------------------------------- > > Key: AIRFLOW-18 > URL: https://issues.apache.org/jira/browse/AIRFLOW-18 > Project: Apache Airflow > Issue Type: Improvement > Components: database > Reporter: Bolke de Bruin > Assignee: zgl > Priority: Critical > Labels: database > > Eg. in XXX_add_dagrun.py the constraint is added without a name: > sa.UniqueConstraint('dag_id', 'execution_date'), > This makes constraint naming database specific, ie. postgres' name for the > constraint be different than mysql's and sqllite's. > Best practice per http://alembic.readthedocs.io/en/latest/naming.html is to > have naming conventions that are being applied. -- This message was sent by Atlassian Jira (v8.3.4#803005)