We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d96786 commit 33c4648Copy full SHA for 33c4648
django_mongodb/schema.py
@@ -5,6 +5,9 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
5
def create_model(self, model):
6
pass
7
8
+ def delete_model(self, model):
9
+ pass
10
+
11
def add_field(self, model, field):
12
13
@@ -14,11 +17,26 @@ def alter_field(self, model, old_field, new_field, strict=False):
14
17
def remove_field(self, model, field):
15
18
16
19
20
+ def alter_index_together(self, model, old_index_together, new_index_together):
21
22
23
def alter_unique_together(self, model, old_unique_together, new_unique_together):
24
25
26
def add_index(self, model, index):
27
28
29
+ def rename_index(self, model, old_index, new_index):
30
31
32
def remove_index(self, model, index):
33
34
35
+ def add_constraint(self, model, constraint):
36
37
38
+ def remove_constraint(self, model, constraint):
39
40
41
+ def alter_db_table(self, model, old_db_table, new_db_table):
42
0 commit comments