This commit is contained in:
Waylon Walker 2023-06-22 16:54:57 -05:00
parent 28eda9e899
commit 4ad297a291
6 changed files with 45 additions and 18 deletions

View file

@ -12,7 +12,7 @@ class {{ modelname }}Base(SQLModel, table=False):
class {{ modelname }}({{ modelname }}Base, table=True):
id: Optional[int] = Field(default=None, primary_key=True)
id: int = Field(default=None, primary_key=True)
class {{ modelname }}Create({{ modelname }}Base):