A crude script to convert a mysql-workbench autogenerated database creation script to LaTeX tables that describe the tables of the database schema
Pass the path to the sql script as an argument to sql_to_latex.py
.
Put this into the preamble of your .tex
file:
\usepackage{tabularx}
\usepackage{caption}
\captionsetup{labelformat=empty}
\usepackage{floatrow}
\floatsetup[table]{capposition=top}
\newcommand{\code}[1]{\texttt{#1}}