Remove the foreign key constraint from the kind field on the logentry3 table
This commit is contained in:
parent
e309508776
commit
c510759df3
2 changed files with 1 additions and 3 deletions
|
@ -1041,7 +1041,7 @@ class LogEntry2(BaseModel):
|
|||
|
||||
class LogEntry3(BaseModel):
|
||||
id = BigAutoField()
|
||||
kind = ForeignKeyField(LogEntryKind)
|
||||
kind = IntegerField(db_column='kind_id')
|
||||
account = IntegerField(db_column='account_id')
|
||||
performer = IntegerField(null=True, db_column='performer_id')
|
||||
repository = IntegerField(null=True, db_column='repository_id')
|
||||
|
|
Reference in a new issue