Hi im new to tutor openedx. Im trying to create new feature like add more user detail when register to user so Im following this article
in my model.py it look like this
class UserMoreDetail(models.Model):
"""
UserMoreDetail model for storing additional user details.
"""
address = models.CharField(max_length=255)
user = models.ForeignKey(User, on_delete=models.CASCADE)
then i use python manage.py makemigration
then in tutor_dev-lms-1 run python manage.py migrate repo)name
it would freeze like this
Operations to perform:
Apply all migrations: repo_name
Running migrations:
Applying repo_name.0002_usermoredetail_user...
so i access sql bash and run show full processlist
and saw state Waiting for table metadata lock
so i try by commented out the field user and i work fine so any other i can add relation to user?