class AlterField(model_name, name, field, preserve_default=True) [source] Alters a field’s
class RunPython(code, reverse_code=None, atomic=None, hints=None, elidable=False) [source] Runs
class RenameModel(old_name, new_name) [source] Renames the model from an old name to a new
class RemoveField(model_name, name) [source] Removes a field from a model.
class DeleteModel(name) [source] Deletes the model from the project history and its table
class RunSQL(sql, reverse_sql=None, state_operations=None, hints=None, elidable=False) [source] Allows
class RenameField(model_name, old_name, new_name) [source] Changes a field’s name (and, unless
Page 2 of 2