title: Create table with Foreign Collection Field
body: <p>I have this abstract class:</p>
  
  <p>DomainItem</p>
  
  <pre><code>abstract public class DomainItem {
  
      @DatabaseField(generatedId = true)
      protected long id;
  
      @ForeignCollectionField(eager = false)
          protected ForeignCollection&lt;ContentItem&gt; contentItens;
  
      //getters and setters
  }
  </code></pre>
  
  <p>ContentItem:</p>
  
  <pre><code>abstract public class ContentItem {
  
      @DatabaseField(generatedId = true)
      protected long id;
  
      @DatabaseField(foreign = true)
      protected DomainItem domainItem;
  
  
      @DatabaseField()
      protected String content;
  
      //getters and setters
  }
  </code></pre>
  
  <p>And these (no abstract):</p>
  
  <pre><code>@DatabaseTable()
  public class PhytoterapicItem extends DomainItem{
  
      public PhytoterapicItem(){
  
      }
  
  }
  </code></pre>
  
  <p>PhytoterapicContent </p>
  
  <pre><code>@DatabaseTable(tableName = "phytoterapiccontent")
  public class PhytoterapicContent extends ContentItem {
  
      @DatabaseField(canBeNull = false)
      private String defaultName;
  
      @DatabaseField(canBeNull = false)
      private String scientificName;
  
      //getters and setters
  }
  </code></pre>
  
  <p>In my DatabaseHelper I trying create the tables:</p>
  
  <pre><code>//DatabaseHelper
  ...
  @Override
  public void onCreate(SQLiteDatabase db, ConnectionSource connectionSource) {
      try {
          Log.i(TAG, "onCreate");
          TableUtils.createTable(connectionSource, PhytoterapicContent.class);
          Log.i(TAG, "Created table PhytoterapicContent");
  
          TableUtils.createTable(connectionSource, PhytoterapicItem.class);
          Log.i(TAG, "Created table PhytoterapicItem");
      catch{
         ...
      }
  </code></pre>
  
  <p>The table PhytoterapicContent is created. But I got the follow error:</p>
  
  <blockquote>
    <p>java.sql.SQLException: Foreign collection class br.com.project.model.ContentItem for field 'contentItens' column-name does not contain a foreign field of class br.com.project.model.PhytoterapicItem</p>
  </blockquote>