I need to communicate to an existing database. I would like to have a schema for the table that I will query. Do I need to create the schema by hand? Or is there a standard tool to do this?
My searches show old libraries that are officially not supported. Other suggestions that encourages manually writing the schema seem pretty old. If manually doing it is the way, I am fine with that. I am trying to double check that is the standard solution for this problem
Back in the day I hand wrote a script to turn a pg_dump into a bunch of ecto files. It worked but that was 8+ years ago so I don’t think I have it anymore. Today though? I’d chuck a schema only pg_dump at an LLM and then review it afterward. Text transformations are its bread and butter.