Skip to content

Commit f88e07a

Browse files
authored
Merge pull request #3763 from Kunal-Somani/fix/models-db-column-quotes
fix(models): remove extra quotes in db_column breaking test DB creation
2 parents 51c1b88 + 1140f17 commit f88e07a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

academy/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ class Universe(models.Model):
110110

111111
name = models.CharField(max_length=100, blank=False, unique=True)
112112
world = models.OneToOneField(
113-
World, default=None, on_delete=models.CASCADE, db_column='"world_id"'
113+
World, default=None, on_delete=models.CASCADE, db_column="world_id"
114114
)
115115
robot = models.OneToOneField(
116-
Robot, default=None, on_delete=models.CASCADE, db_column='"robot_id"'
116+
Robot, default=None, on_delete=models.CASCADE, db_column="robot_id"
117117
)
118118

119119
def __str__(self):

0 commit comments

Comments
 (0)