Skip to content
Browse files

Start writing the model

  • Loading branch information...
1 parent 494e38a commit bdc6a22f339d310ba47a5bad40fbb9f5ecb7caf8 @holdenk committed
Showing with 12 additions and 0 deletions.
  1. +12 −0 frontend/unicorn/verify/models.py
View
12 frontend/unicorn/verify/models.py
@@ -1,3 +1,15 @@
from django.db import models
# Create your models here.
+class PatchInfo(models.Model):
+ diff_url=models.CharField(max_length=1000, help_text="The URL of the github diff")
+ target_username=models.CharField(max_length=1000, help_text="The target github user to apply the pull request to (if approved)")
+ message_txt=models.CharField(max_length=1000, help_text="The commit message text")
+ reviewer_username=models.CharField(max_length=1000, help_text="The username of the reviewer")
+ good = models.BooleanField(max_length=1000, help_text="Is this patch good",
+ default=False)
+ examined = models.BooleanField(max_length=1000, help_text="Has this patch been examined",
+ default=False)
+ exported = models.BooleanField(max_length=1000, help_text="Has this patch been examined",
+ default=False)
+

0 comments on commit bdc6a22

Please sign in to comment.
Something went wrong with that request. Please try again.