mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
Part 1 of initial database population re-factor, along with a comsys model change. DO NOT UPDATE TO THIS IN PRODUCTION ENVIRONMENTS YET! Wait for the all-clear.
This commit is contained in:
parent
8ebea8c22e
commit
c0ebbc3967
6 changed files with 29 additions and 10 deletions
|
|
@ -30,7 +30,7 @@ class Attribute(models.Model):
|
|||
"""
|
||||
attr_name = models.CharField(max_length=255)
|
||||
attr_value = models.CharField(max_length=255)
|
||||
attr_hidden = models.BooleanField(default=0)
|
||||
attr_hidden = models.BooleanField(default=False)
|
||||
attr_object = models.ForeignKey("Object")
|
||||
|
||||
objects = AttributeManager()
|
||||
|
|
@ -903,6 +903,7 @@ class CommChannel(models.Model):
|
|||
ansi_name = models.CharField(max_length=255)
|
||||
owner = models.ForeignKey(Object, related_name="chan_owner")
|
||||
description = models.CharField(max_length=80)
|
||||
is_joined_by_default = models.BooleanField(default=False)
|
||||
req_grp = models.ManyToManyField(Group, blank=True, null=True)
|
||||
|
||||
objects = CommChannelManager()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue