So I changed the names and added a column to a model in django.
Before:
class MyApp(models.Model):
id = models.AutoField(primary_key=True)
aaa = models.CharField(max_length=100)
bbb = models.CharField(max_length=100)
After:
class MyApp(models.Model):
id = models.AutoField(primary_key=True)
first = models.CharField(max_length=100)
second = models.CharField(max_length=100)
third = models.CharField(max_length=100)
I made these changes in the MyApp's view, model, and serializer, however when I try to access my new API endpoint, it fails because the database doesn't contain the new column names. How can I update the database to reflect my new model? (I don't care about any of the data for this model, so I can wipe it). No idea how to do this