mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 05:57:16 +02:00
Made migrations compatible with new user model when creating from scratch.
This commit is contained in:
parent
3c496af6ad
commit
89aebfc13f
59 changed files with 819 additions and 207 deletions
|
|
@ -27,6 +27,8 @@ class Migration(DataMigration):
|
|||
conf.save()
|
||||
except utils.DatabaseError:
|
||||
# this will happen if we start the db from scratch (in which case this migration fix is not needed)
|
||||
db.commit_transaction()
|
||||
db.start_transaction()
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue