mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-21 05:39:22 +00:00
Corporate Management stage 1
This changeset adds a couple of new features to the API, it pulls in all characters on a corp basis, if a director's API key is available, and updates last login/logoff date/times for each corp member.
This commit is contained in:
@@ -1 +1 @@
|
||||
SEQUENCE = ['applications-field', 'total-sp']
|
||||
SEQUENCE = ['applications-field', 'total-sp', 'login-locations', 'director-update']
|
||||
|
||||
7
eve_api/evolutions/director-update.py
Normal file
7
eve_api/evolutions/director-update.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django_evolution.mutations import *
|
||||
from django.db import models
|
||||
|
||||
MUTATIONS = [
|
||||
AddField('EVEPlayerCharacter', 'applications', models.BooleanField, initial=False)
|
||||
]
|
||||
|
||||
9
eve_api/evolutions/login-locations.py
Normal file
9
eve_api/evolutions/login-locations.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django_evolution.mutations import *
|
||||
from django.db import models
|
||||
|
||||
MUTATIONS = [
|
||||
AddField('EVEPlayerCharacter', 'current_location_id', models.IntegerField, null=True),
|
||||
AddField('EVEPlayerCharacter', 'last_login', models.DateTimeField, null=True),
|
||||
AddField('EVEPlayerCharacter', 'last_logoff', models.DateTimeField, null=True)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user