From f2162d9aa6a016655c55ef7ac29275f03c1ee8e5 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Sun, 7 Apr 2013 19:32:20 -0400 Subject: [PATCH] added role_id to role model --- plstackapi/planetstack/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plstackapi/planetstack/models.py b/plstackapi/planetstack/models.py index 8904bbd..a8fea63 100644 --- a/plstackapi/planetstack/models.py +++ b/plstackapi/planetstack/models.py @@ -21,6 +21,7 @@ class PlCoreBase(models.Model): class Role(PlCoreBase): ROLE_CHOICES = (('admin', 'Admin'), ('pi', 'Principle Investigator'), ('user','User')) + role_id = models.CharField(max_length=256, unique=True) role_type = models.CharField(max_length=80, unique=True, choices=ROLE_CHOICES) def __unicode__(self): return u'%s' % (self.role_type) -- 2.47.0