Event Timeline
Comment Actions
Need to save structure of the ignored tables I guess:
dump_table_structure method (GPT 5)
async def dump_table_structure(container: str, db: str, table: str, target: Path): """ Dump only the structure (CREATE TABLE statement) of a table, excluding its data. """ cmd = ["mysqldump", container, "--no-data", db, table] async with asyncio.Lock(): dump = await run_async(cmd) target.write_text(dump)