<?php

use Anomaly\Streams\Platform\Database\Migration\Migration;

/**
 * Class AnomalyModuleFilesCreateFilesStream
 *
 * @link          http://pyrocms.com/
 * @author        PyroCMS, Inc. <support@pyrocms.com>
 * @author        Ryan Thompson <ryan@pyrocms.com>
 */
class AnomalyModuleFilesCreateFilesStream extends Migration
{

    /**
     * The stream definition.
     *
     * @var array
     */
    protected $stream = [
        'slug'         => 'files',
        'title_column' => 'name',
        'trashable'    => true,
    ];

    /**
     * The stream assignments.
     *
     * @var array
     */
    protected $assignments = [
        'name'      => [
            'required' => true,
        ],
        'disk'      => [
            'required' => true,
        ],
        'folder'    => [
            'required' => true,
        ],
        'extension' => [
            'required' => true,
        ],
        'size'      => [
            'required' => true,
        ],
        'mime_type' => [
            'required' => true,
        ],
        'entry'     => [
            'required' => true,
        ],
        'keywords',
        'height',
        'width',
    ];

}

<?php

use Anomaly\Streams\Platform\Database\Migration\Migration;

class AnomalyModuleFilesCreateFilesStream extends Migration
{

    /**
     * The stream definition.
     *
     * @var array
     */
    protected $stream = [
        'slug'         => 'files',
        'title_column' => 'name',
        'trashable'    => true,
    ];

    /**
     * The stream assignments.
     *
     * @var array
     */
    protected $assignments = [
        'name'      => [
            'required' => true,
        ],
        'disk'      => [
            'required' => true,
        ],
        'folder'    => [
            'required' => true,
        ],
        'extension' => [
            'required' => true,
        ],
        'size'      => [
            'required' => true,
        ],
        'mime_type' => [
            'required' => true,
        ],
        'entry',
        'keywords',
        'height',
        'width',
    ];
}

Fix issue where entry was required when it shouldn't be
Fix issue where entry was required when it shouldn't be
