mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
Make sqlmigrate ignore the RunPython operation
This commit is contained in:
@@ -132,3 +132,6 @@ class RunPython(Operation):
|
||||
|
||||
def database_backwards(self, app_label, schema_editor, from_state, to_state):
|
||||
raise NotImplementedError("You cannot reverse this operation")
|
||||
|
||||
def describe(self):
|
||||
return "Raw Python operation"
|
||||
|
||||
Reference in New Issue
Block a user