Working on credentials endpoints, added migration (no credentials directly on projects)

This commit is contained in:
Michael DeHaan
2013-04-01 20:38:03 -04:00
parent 791003995c
commit 0489762a02
6 changed files with 359 additions and 2 deletions

View File

@@ -485,7 +485,6 @@ class Credential(CommonModel):
app_label = 'main'
user = models.ForeignKey('auth.User', null=True, default=None, blank=True, on_delete=SET_NULL, related_name='credentials')
project = models.ForeignKey('Project', null=True, default=None, blank=True, on_delete=SET_NULL, related_name='credentials')
team = models.ForeignKey('Team', null=True, default=None, blank=True, on_delete=SET_NULL, related_name='credentials')
ssh_key_path = models.CharField(blank=True, default='', max_length=4096)