This code only alters the database, all the model is in models.py