Permalink
Browse files

fixed staStations db_column names

  • Loading branch information...
1 parent cc2332c commit 8abda92071d5bf148524f6887b33b81299ef8380 @hcwilhelm committed Apr 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Backend/evedb/models.py
View
@@ -174,9 +174,9 @@ def __unicode__(self):
class staStations(models.Model):
stationID = models.PositiveIntegerField(primary_key=True)
stationName = models.CharField(max_length=100)
- stationTypeID = models.ForeignKey('staStationTypes')
+ stationTypeID = models.ForeignKey('staStationTypes', db_column='stationTypeID')
solarSystemID = models.IntegerField('mapSolarSystems')
- corporationID = models.ForeignKey('eve.Corporation')
+ corporationID = models.ForeignKey('eve.Corporation', db_column='corporationID')
cachedUntil = datetime.datetime.utcnow() + datetime.timedelta(days=1)
def expired(self):

0 comments on commit 8abda92

Please sign in to comment.