Turn id field into an AutoField (by relying on the implicit primary

key definition in Django)
 - Legacy-Id: 4021
This commit is contained in:
Ole Laursen 2012-03-02 13:14:42 +00:00
parent 4806a52de9
commit d8c6b6bd8e

View file

@ -196,7 +196,6 @@ class IprRfc(models.Model):
db_table = 'ipr_rfcs'
class IprUpdate(models.Model):
id = models.IntegerField(primary_key=True)
ipr = models.ForeignKey(IprDetail, related_name='updates')
updated = models.ForeignKey(IprDetail, db_column='updated', related_name='updated_by')
status_to_be = models.IntegerField(null=True, blank=True)