Remove the foreign key constraint from the kind field on the logentry3 table

This commit is contained in:
Joseph Schorr 2019-01-04 13:35:14 -05:00
parent e309508776
commit c510759df3
2 changed files with 1 additions and 3 deletions

View file

@ -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')