Adding in a new message data model and the corresponding methods to in the API.

This commit is contained in:
charltonaustin 2016-10-07 15:56:58 -04:00
parent 7d8cc1fc34
commit 1e733ddffb
8 changed files with 60 additions and 4 deletions

View file

@ -774,6 +774,8 @@ class LogEntry(BaseModel):
(('repository', 'datetime', 'kind'), False),
)
class Message(BaseModel):
content = TextField()
class RepositoryActionCount(BaseModel):
repository = ForeignKeyField(Repository)