title: django two column foreign key reference to one column
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>class Personal(models.Model):
      Personal_ID = models.SmallIntegerField(primary_key=True)
      Name = models.CharField(max_length=20)
      
      class Meta:
          managed = True
          db_table = 'Personal'
  
  class Tests(models.Model):
      
      Requestor = models.ForeignKey('Personal',models.DO_NOTHING,
      db_column='Personal_ID')
      Analyst = models.ForeignKey('Personal', on_delete=models.CASCADE,db_column='Personal_ID',related_name='+')
     
      class Meta:
          managed = True
          db_table = 'Tests'</code></pre>
  </div>
  </div>
  </p>
  <p><a href="https://i.stack.imgur.com/b1XoC.png" rel="nofollow noreferrer">I have this problem, I have two columns foreigner key and reference one columns, which works in mysql, but it did not work in Django models. it showed there are two same db_columns in one models and it is not allowed, how to fix it. I will appreciate it</a></p>
  <p><a href="https://i.stack.imgur.com/ZXcuV.png" rel="nofollow noreferrer">here is the code. how to avoid to use one db_column twice? </a></p>