mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Make OS.name field unique
This commit is contained in:
parent
37aa419855
commit
5061d25c80
@ -2,6 +2,6 @@ from django.db import models
|
||||
|
||||
|
||||
class OperatingSystem(models.Model):
|
||||
name = models.CharField(max_length=100)
|
||||
name = models.CharField(max_length=100, unique=True)
|
||||
description = models.TextField(blank=True, default="")
|
||||
version = models.CharField(max_length=50, blank=True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user