git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Database referral integrity


Hi,

looking into the DB schema there is almost no referral integrity
enforced at the database level. Many foreign key constraints between
dag, dag_run, task_instance, xcom, dag_pickle, log, etc would make sense
IMO.

Is there a particular reason why that's not implemented?

Introducing it now will be hard, probably any real-world setup has some
violations. But I'm still in favor of this additional safety net.

Kind Regards,
Stefan