Turn id field into an AutoField (by relying on the implicit primary
key definition in Django) - Legacy-Id: 4021
This commit is contained in:
parent
4806a52de9
commit
d8c6b6bd8e
|
@ -196,7 +196,6 @@ class IprRfc(models.Model):
|
||||||
db_table = 'ipr_rfcs'
|
db_table = 'ipr_rfcs'
|
||||||
|
|
||||||
class IprUpdate(models.Model):
|
class IprUpdate(models.Model):
|
||||||
id = models.IntegerField(primary_key=True)
|
|
||||||
ipr = models.ForeignKey(IprDetail, related_name='updates')
|
ipr = models.ForeignKey(IprDetail, related_name='updates')
|
||||||
updated = models.ForeignKey(IprDetail, db_column='updated', related_name='updated_by')
|
updated = models.ForeignKey(IprDetail, db_column='updated', related_name='updated_by')
|
||||||
status_to_be = models.IntegerField(null=True, blank=True)
|
status_to_be = models.IntegerField(null=True, blank=True)
|
||||||
|
|
Loading…
Reference in a new issue