Last point where Player & Account coexist - migrate here first.

This commit is contained in:
Griatch 2017-07-06 23:17:01 +02:00
parent 63c96de443
commit 34443fa4e6
6 changed files with 65 additions and 15 deletions

View file

@ -86,9 +86,6 @@ class ScriptDB(TypedObject):
# A reference to the database object affected by this Script, if any.
db_obj = models.ForeignKey("objects.ObjectDB", null=True, blank=True, verbose_name='scripted object',
help_text='the object to store this script on, if not a global script.')
# TODO Player-Account
db_player = models.ForeignKey("players.PlayerDB", null=True, blank=True, verbose_name="scripted player",
help_text='the player to store this script on (should not be set if obj is set)')
db_account = models.ForeignKey("accounts.AccountDB", null=True, blank=True, verbose_name="scripted account",
help_text='the account to store this script on (should not be set if db_obj is set)')