Revert "Migrate EVE API application to 64bit Integers (as per Tyrannis 1.2/API Changes)"

This reverts commit be6d219768.
This commit is contained in:
2010-11-05 17:49:52 +00:00
parent 4a41a28c6a
commit 8f9e4e2d77
2 changed files with 1 additions and 166 deletions

View File

@@ -14,7 +14,6 @@ class EVEAPIModel(models.Model):
A simple abstract base class to set some consistent fields on the models
that are updated from the EVE API.
"""
id = models.BigIntegerField(primary_key=True)
api_last_updated = models.DateTimeField(blank=True, null=True,
verbose_name="Time last updated from API",
help_text="When this object was last updated from the EVE API.")
@@ -32,7 +31,7 @@ class EVEAccount(EVEAPIModel):
description = models.CharField(max_length=50, blank=True,
help_text="User-provided description.")
api_key = models.CharField(max_length=64, verbose_name="API Key")
api_user_id = models.BigIntegerField(verbose_name="API User ID")
api_user_id = models.IntegerField(verbose_name="API User ID")
characters = models.ManyToManyField("EVEPlayerCharacter", blank=True,
null=True)
api_status = models.IntegerField(choices=API_STATUS_CHOICES,