title: django.db.utils.IntegrityError: NOT NULL constraint failed: products_product.image ERROR WITH IMAGE FIELD
body: <p>I wanna add imagefield to my <code>models.py</code> and upload in my media_cdn directory
  but when i migrate to base my model.py he give this error</p>
  
  <pre><code>django.db.utils.IntegrityError: NOT NULL constraint failed: products_product.image ERROR WITH IMAGE FIELD
  </code></pre>
  
  <p>Output from cmd </p>
  
  <blockquote>
  <pre><code>operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  </code></pre>
    
    <p>File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\migrations\operations\fields.py", line 84, in database_forwards
        field,
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\backends\sqlite3\schema.py", line 231, in add_field
        self._remake_table(model, create_fields=[field])
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\backends\sqlite3\schema.py", line 199, in _remake_table
        self.quote_name(model._meta.db_table),
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\backends\base\schema.py", line 112, in execute
        cursor.execute(sql, params)
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\backends\utils.py", line 79, in execute
        return super(CursorDebugWrapper, self).execute(sql, params)
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\backends\utils.py", line 64, in execute
        return self.cursor.execute(sql, params)
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\utils.py", line 94, in <strong>exit</strong>
        six.reraise(dj_exc_type, dj_exc_value, traceback)
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\utils\six.py", line 685, in reraise
        raise value.with_traceback(tb)
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\backends\utils.py", line 64, in execute
        return self.cursor.execute(sql, params)
      File "C:\Users\PANDEMIC\Desktop\td10\lib\site-packages\django\db\backends\sqlite3\base.py", line 337, in execute
        return Database.Cursor.execute(self, query, params)
    django.db.utils.IntegrityError: NOT NULL constraint failed: products_product.image</p>
  </blockquote>
  
  <pre><code>from django.db import models
  
  # Create your models here.
  
  class Product(models.Model):
      name = models.CharField(max_length=40)
      description = models.TextField(max_length=220, blank=True, default=None)
      image = models.ImageField(upload_to="/products_images/", null=True, blank=True, width_field="width_field", height_field="height_field")
      width_field = models.IntegerField(default=0)
      height_field = models.IntegerField(default=0)
      is_active = models.BooleanField(default=True)
      publish = models.DateField(auto_now=False, auto_now_add=True)
      timestamp = models.DateTimeField(auto_now=False, auto_now_add=True)
  
      def __str__(self):
          return "%s" % self.id
  
      class Meta:
          ordering = ["-timestamp"]
          verbose_name = 'Product'
          verbose_name_plural = 'Products'
  </code></pre>