fisrt
This commit is contained in:
30
config/versionable.php
Normal file
30
config/versionable.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/**
|
||||
* Load migrations from package migrations,
|
||||
* if You published the migration files, please set to `false`.
|
||||
*/
|
||||
'migrations' => true,
|
||||
|
||||
/*
|
||||
* Keep versions, you can redefine in target model.
|
||||
* Default: 0 - Keep all versions.
|
||||
*/
|
||||
'keep_versions' => 0,
|
||||
|
||||
/*
|
||||
* User foreign key name of versions table.
|
||||
*/
|
||||
'user_foreign_key' => 'user_id',
|
||||
|
||||
/*
|
||||
* The model class for store versions.
|
||||
*/
|
||||
'version_model' => \Overtrue\LaravelVersionable\Version::class,
|
||||
|
||||
/**
|
||||
* The model class for user.
|
||||
*/
|
||||
'user_model' => Modules\User\Models\User::class,
|
||||
];
|
||||
Reference in New Issue
Block a user