Allows ordering of component groups. Closes #573.
This commit is contained in:
@@ -19,6 +19,7 @@ use Watson\Validating\ValidatingTrait;
|
||||
/**
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $order
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
* @property \Carbon\Carbon $deleted_at
|
||||
@@ -41,7 +42,7 @@ class ComponentGroup extends Model
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
protected $fillable = ['name'];
|
||||
protected $fillable = ['name', 'order'];
|
||||
|
||||
/**
|
||||
* A group can have many components.
|
||||
|
||||
Reference in New Issue
Block a user