mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 18:47:16 +01:00
Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path.
This commit is contained in:
parent
72bdc3b37f
commit
6e5de7847a
7 changed files with 170 additions and 12 deletions
|
|
@ -373,7 +373,7 @@ def create_channel(key, aliases=None, desc=None,
|
|||
if not _channelhandler:
|
||||
from src.comms import channelhandler as _channelhandler
|
||||
if not typeclass:
|
||||
typeclass = settings.BASE_COMM_TYPECLASS
|
||||
typeclass = settings.BASE_CHANNEL_TYPECLASS
|
||||
try:
|
||||
new_channel = _ChannelDB(typeclass=typeclass, db_key=key)
|
||||
new_channel.save()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue