mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-05 11:17:36 +00:00
14 lines
350 B
Python
14 lines
350 B
Python
from django.db import models
|
|
|
|
# Create your models here.
|
|
|
|
class GroupRepo(models.Model):
|
|
"""A repo shared to a group."""
|
|
|
|
group_id = models.CharField(max_length=36)
|
|
repo_id = models.CharField(max_length=36)
|
|
repo_location = models.CharField(max_length=40, blank=True)
|
|
|
|
class Meta:
|
|
unique_together = ("group_id", "repo_id")
|