Install Laravel Versionable
5.xInstall the package via Composer, publish the configuration and migrations, and then run the migrations to set up the database schema.
composer require overtrue/laravel-versionable -vvv
php artisan vendor:publish --provider="Overtrue\LaravelVersionable\ServiceProvider"
php artisan migrate