Laravel save data to database with Model SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed:
<p>When i try to save to database i keep getting these errors</p>

<pre><code>PDOException in Connection.php line 479:
SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: images.uploader


QueryException in Connection.php line 769:
SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: images.uploader (SQL: insert into "images" ("name", "description", "updated_at", "created_at") values (coat, description test, 2016-12-11 10:34:34, 2016-12-11 10:34:34))
</code></pre>

<p>The store function in my controller</p>

<pre><code>public function store($name)
{
    $image = new Image;
    $image-&gt;name = $name;
    $image-&gt;description = "description test";

    $image-&gt;save();

}
</code></pre>

<p>the migration</p>

<pre><code>public function up()
{
    Schema::create('images', function (Blueprint $table) {
        $table-&gt;increments('id');
        $table-&gt;string('uploader');
        $table-&gt;string('name');
        $table-&gt;string('description');
        $table-&gt;integer('width');
        $table-&gt;integer('height');
        $table-&gt;decimal('size');
        $table-&gt;integer('views')-&gt;default(0);
        $table-&gt;string('extension');
        $table-&gt;timestamps();
    });
}
</code></pre>

<p>and my Model</p>

<pre><code>class Image extends Model
{
    protected $fillable = ["name", "description"];
}
</code></pre>

<p>I don't know what I am doing wrong, ive been stuck on this for way too long.
I hope someone can help me</p>