EF migration shows empty Up() Down() methods, no tables created in database
<p>EF migration shows empty Up() Down() methods
_migrationhistory created in database but no tables has been created</p>

<p>code for creating model</p>

<pre><code>Public partial class Student:BaseEntity

{
    public string name { get; set; }
    public string collegeName { get; set; }
    public int numberOfBooks { get; set; }
}
</code></pre>

<p>code for model mapping</p>

<pre><code>public partial class StudentMap: EntityTypeConfiguration&lt;Student&gt;
    {
        public StudentMap()
        {
            this.ToTable("Students");
            this.HasKey(c =&gt; c.Id);
            this.Property(c =&gt; c.name);
            this.Property(c =&gt; c.collegeName);
            this.Property(c =&gt; c.numberOfBooks);

        }
    }
</code></pre>

<p>code for dbcontext</p>

<pre><code> public  class CROObjectContext: DbContext
        {
            public CROObjectContext() : base("pro-nopCommerce")
            {

            }

            public virtual DbSet&lt;Student&gt; students { get; set; }
    }
</code></pre>