Commit f0a3e175 authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Update of the model

I updated the model to remove the `private`field of the table

Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
parent d24d565e
......@@ -91,7 +91,6 @@ class Webapp(TimeStampModel):
readme = models.IntegerField(blank=True, null=True)
entrypoint = models.CharField(max_length=255, blank=True)
exec_time = models.IntegerField(blank=True, null=True)
private = models.IntegerField(blank=True, null=True)
access_token = models.CharField(max_length=255, blank=True, null=True)
sandbox_state = models.IntegerField(null=True)
......@@ -106,7 +105,7 @@ class Webapp(TimeStampModel):
docker_os = models.OneToOneField(DockerOs, related_name="webappdockeros")
user = models.ForeignKey(
User, on_delete=models.CASCADE, related_name="webappuser")
dj_job_queue = models.OneToOneField(
job_queue = models.OneToOneField(
JobQueue, on_delete=models.CASCADE, related_name="webappjobqueue")
class Meta:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment