mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Added applications field into EVEPlayerCorporation
This commit is contained in:
1
eve_api/evolutions/__init__.py
Normal file
1
eve_api/evolutions/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
SEQUENCE = ['applications-field']
|
||||
7
eve_api/evolutions/applications-field.py
Normal file
7
eve_api/evolutions/applications-field.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django_evolution.mutations import *
|
||||
from django.db import models
|
||||
|
||||
MUTATIONS = [
|
||||
AddField('EVEPlayerCorporation', 'applications', models.BooleanField, initial=False)
|
||||
]
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user