First Check
Commit to Help
Example Code
from sqlmodel import Field, Relationship, SQLModel
class Measure(SQLModel, table=True):
t: int = Field(primary_key=True, description='Unix epoch when the measure was performed')
Description
I want to add comments on columns and tables that can be seen also in the generated SQL DB
No 'comment' parameter could be found in the 'Field' function. I found the 'description' parameter but it has no effect on the generated schema and I couldn't find any information on what's the use of this attribute.
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.7.3
Additional Context
No response
First Check
Commit to Help
Example Code
Description
I want to add comments on columns and tables that can be seen also in the generated SQL DB
No 'comment' parameter could be found in the 'Field' function. I found the 'description' parameter but it has no effect on the generated schema and I couldn't find any information on what's the use of this attribute.
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.7.3
Additional Context
No response