Okay so I have a problem where I designed a model in django and now I need to delete the table in my DB that my model is associated with. I looked around and could not find any suitable instructions for how to do this django 1.9 so I thought I would ask here.
Basically, I have a model-form like this:
class Query(models.Model):
studyName = models.CharField(max_length=250)
population = models.IntegerField()
intervention = models.CharField(max_length=250)
comparison = models.CharField(max_length=250)
outcome = models.CharField(max_length=250)
outcomeTiming = models.CharField(max_length=250)
processed_data = models.CharField(max_length=10000)
updated = models.DateTimeField(auto_now=True, auto_now_add=False)
timestamp = models.DateTimeField(auto_now=False, auto_now_add=True)
and I want to change it to be:
class Query(models.Model):
Study_Design = models.TextField()
Study_Data = models.TextField()
Study_Tools = models.TextField()
processed_data = models.TextField()
updated = models.DateTimeField(auto_now=True, auto_now_add=False)
timestamp = models.DateTimeField(auto_now=False, auto_now_add=True)
Any help is appreciated.