add autocounter
This commit is contained in:
@@ -16,6 +16,7 @@ return new class extends Migration
|
||||
$table->string('number')->nullable();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('main_file')->nullable();
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -4,10 +4,12 @@ namespace App\Modules\IncomingLetter;
|
||||
|
||||
use App\Modules\Makeable;
|
||||
use App\Modules\ModuleContract;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class IncomingLetterModule implements ModuleContract
|
||||
{
|
||||
use Makeable;
|
||||
use SoftDeletes;
|
||||
|
||||
/**
|
||||
* Module is enabled
|
||||
|
||||
@@ -16,6 +16,7 @@ return new class extends Migration
|
||||
$table->string('number')->nullable();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('main_file')->nullable();
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user