Adding in a new message data model and the corresponding methods to in the API.
This commit is contained in:
parent
7d8cc1fc34
commit
1e733ddffb
8 changed files with 60 additions and 4 deletions
|
@ -774,6 +774,8 @@ class LogEntry(BaseModel):
|
|||
(('repository', 'datetime', 'kind'), False),
|
||||
)
|
||||
|
||||
class Message(BaseModel):
|
||||
content = TextField()
|
||||
|
||||
class RepositoryActionCount(BaseModel):
|
||||
repository = ForeignKeyField(Repository)
|
||||
|
|
Reference in a new issue