My article about reconstructing foreign keys (or find missed ones) in SQL databases using sqlant and LLMs was published in the csecurity.kubg.edu.ua journal.
It could be a good idea to include this approach in a utility that works with databases.