add cli
This commit is contained in:
parent
85554e2169
commit
a21dbb08d4
8 changed files with 285 additions and 43 deletions
12
sqlmodel_base/team/models.py
Normal file
12
sqlmodel_base/team/models.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from typing import Optional
|
||||
|
||||
from rich.console import Console
|
||||
from sqlmodel import Field
|
||||
|
||||
from sqlmodel_base.base import Base
|
||||
|
||||
|
||||
class Team(Base, table=True):
|
||||
id: Optional[int] = Field(default=None, primary_key=True)
|
||||
name: str = Field(index=True)
|
||||
headquarters: str
|
||||
Loading…
Add table
Add a link
Reference in a new issue