mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 02:06:32 +01:00
Move away from fixtures in favor of src/initial_setup.py, which makes it a little easier to change stuff like this. It also avoids over-writing stuff when syncdb is ran. This commit features database layout changes to ConnectScreen and CommChannel. It is recommended that you drop your database and re-sync. If this is not acceptable, talk to me about a migration plan. We will be investigating schema evolution down the road.
This commit is contained in:
parent
c0ebbc3967
commit
f6ee697e04
8 changed files with 119 additions and 38 deletions
|
|
@ -44,7 +44,7 @@ class ConnectScreen(models.Model):
|
|||
will cycle randomly.
|
||||
"""
|
||||
name = models.CharField(max_length=255, help_text="An optional name for this screen (for organizational purposes).", blank=True)
|
||||
connect_screen_text = models.TextField(help_text="The text for the connect screen. Color codes and substitutions are evaluated.")
|
||||
text = models.TextField(help_text="The text for the connect screen. Color codes and substitutions are evaluated.")
|
||||
is_active = models.BooleanField(default=1, help_text="Only active connect screens are placed in the rotation")
|
||||
|
||||
objects = ConnectScreenManager()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue