Add verified field to Establishments

This commit is contained in:
Kumi 2021-04-09 07:18:21 +02:00
parent f67b10f558
commit 51c020eac3

View file

@ -17,6 +17,7 @@ class Establishment(models.Model):
state = models.CharField(max_length=64) state = models.CharField(max_length=64)
country = CountryField() country = CountryField()
coords = models.PointField() coords = models.PointField()
verified = models.BooleanField(default=False)
class RoomCategory(models.Model): class RoomCategory(models.Model):
establishment = models.ForeignKey(Establishment, models.CASCADE) establishment = models.ForeignKey(Establishment, models.CASCADE)