Skip to content

Commit

Permalink
SDE upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kriberg committed Nov 13, 2018
1 parent 4ba86a2 commit 8d7d2da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion armada_sde/__init__.py
@@ -1 +1 @@
__version__ = '0.3.0'
__version__ = '0.3.0-20181113'
12 changes: 6 additions & 6 deletions armada_sde/models/generated.py
@@ -1,7 +1,7 @@
# This is an auto-generated Django models.py file.
# It was made by armada_sde's pg_load_sde which has special
# seasoning for importing the SDE dumps generated for postgresql.
# Generated 2018-10-12T21:11:49.764818+00:00, version 0.3.0
# Generated 2018-11-13T21:57:34.160884+00:00, version 0.3.0
from __future__ import unicode_literals
from django.db import models

Expand Down Expand Up @@ -1246,7 +1246,6 @@ class InvControlTowerResource(models.Model):
purpose = models.ForeignKey(
'InvControlTowerResourcePurpose',
on_delete=models.DO_NOTHING,
db_column='purpose',
blank=True,
null=True)
quantity = models.IntegerField(blank=True, null=True)
Expand Down Expand Up @@ -1649,7 +1648,10 @@ class Meta(object):

class InvUniqueName(models.Model):
item_id = models.IntegerField(db_column='itemID', primary_key=True)
item_name = models.CharField(db_column='itemName', max_length=200)
item_name = models.CharField(
db_column='itemName',
unique=True,
max_length=200)
group = models.ForeignKey(
'InvGroup',
on_delete=models.DO_NOTHING,
Expand All @@ -1669,7 +1671,6 @@ class Meta(object):
managed = False
verbose_name = 'Inv Unique Names'
db_table = 'sde_invUniqueNames'
unique_together = (('item_name', 'item_name'),)


class InvVolume(models.Model):
Expand Down Expand Up @@ -2088,8 +2089,7 @@ class MapSolarSystem(models.Model):
hub = models.NullBooleanField()
international = models.NullBooleanField()
regional = models.NullBooleanField()
# Field renamed because of name conflict.
constellation_0 = models.NullBooleanField(db_column='constellation')
constellation = models.NullBooleanField()
security = models.FloatField(blank=True, null=True)
faction = models.ForeignKey(
'ChrFaction',
Expand Down

0 comments on commit 8d7d2da

Please sign in to comment.