mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: datasource
This commit is contained in:
@@ -17,7 +17,7 @@ class CoreDatasource(SQLModel, table=True):
|
||||
status: str = Field(max_length=64, nullable=True)
|
||||
|
||||
|
||||
class TableSchema(BaseModel):
|
||||
class CoreTable(BaseModel):
|
||||
checked: str = True
|
||||
table_name: str = ''
|
||||
table_comment: str = ''
|
||||
@@ -25,7 +25,7 @@ class TableSchema(BaseModel):
|
||||
table_fields: List = []
|
||||
|
||||
|
||||
class FieldSchema(BaseModel):
|
||||
class CoreField(BaseModel):
|
||||
checked: str = True
|
||||
field_name: str = ''
|
||||
field_type: str = ''
|
||||
|
||||
Reference in New Issue
Block a user