diff --git a/eve_api/evolutions/__init__.py b/eve_api/evolutions/__init__.py new file mode 100644 index 0000000..0fdfe86 --- /dev/null +++ b/eve_api/evolutions/__init__.py @@ -0,0 +1 @@ +SEQUENCE = ['applications-field'] diff --git a/eve_api/evolutions/applications-field.py b/eve_api/evolutions/applications-field.py new file mode 100644 index 0000000..9616b5a --- /dev/null +++ b/eve_api/evolutions/applications-field.py @@ -0,0 +1,7 @@ +from django_evolution.mutations import * +from django.db import models + +MUTATIONS = [ + AddField('EVEPlayerCorporation', 'applications', models.BooleanField, initial=False) +] + diff --git a/eve_api/models/api_player.py b/eve_api/models/api_player.py index 528cc71..5037a8a 100644 --- a/eve_api/models/api_player.py +++ b/eve_api/models/api_player.py @@ -157,6 +157,7 @@ class EVEPlayerCorporation(EVEAPIModel): logo_color3 = models.IntegerField(blank=True, null=True) group = models.ForeignKey(Group, blank=True, null=True) + applications = models.BooleanField(blank=False, default=False) objects = EVEPlayerCorporationManager()