-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I followed the instructions as said in the documentation I have a revisionable in my config. But when I try to migrate it. It does not create a revisions table.
Here is some samle code.
use JohannesSchobel\Revisionable\Traits\Revisionable;
class AnalysisRequest extends Model
{
use SoftDeletes;
use Revisionable;
public $table = 'analysis_requests';
protected $revisionable = [
'sample_description',
'special_instruction',
'rushable',
'status'
];
protected $revisionLimitCleanup = true; // only works with revisionLimit
protected $revisionLimit = 50; // keep 50 instead of 20 revisions of this model
protected $dates = ['deleted_at', 'date_analyzed'];
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels