from django.db import models

# Create your models here.

class AlignmentConsensus(models.Model):
    slug = models.SlugField(max_length=100, unique=True)
    alignment = models.BinaryField()
from django.db import models

# Create your models here.

class AlignmentConsensus(models.Model):
    slug = models.SlugField(max_length=100, unique=True)
    alignment = models.BinaryField()
    gn_consensus = models.BinaryField(blank=True) # Store conservation calculation for each GN
Add field on cached alignments to store more information
Add field on cached alignments to store more information

  from django.db import models
  
  # Create your models here.
  
  class AlignmentConsensus(models.Model):
      slug = models.SlugField(max_length=100, unique=True)
      alignment = models.BinaryField()
+     gn_consensus = models.BinaryField(blank=True) # Store conservation calculation for each GN
Add field on cached alignments to store more information
## Code Before:
from django.db import models

# Create your models here.

class AlignmentConsensus(models.Model):
    slug = models.SlugField(max_length=100, unique=True)
    alignment = models.BinaryField()
## Instruction:
Add field on cached alignments to store more information
## Code After:
from django.db import models

# Create your models here.

class AlignmentConsensus(models.Model):
    slug = models.SlugField(max_length=100, unique=True)
    alignment = models.BinaryField()
    gn_consensus = models.BinaryField(blank=True) # Store conservation calculation for each GN