Много чего

This commit is contained in:
brusnitsyn
2025-12-25 17:30:50 +09:00
parent c4bb7ec6f9
commit a5209f45c8
25 changed files with 1521 additions and 574 deletions

View File

@@ -13,7 +13,9 @@ return new class extends Migration
{
Schema::create('archive_histories', function (Blueprint $table) {
$table->id();
$table->morphs('historyable');
$table->string('keyarhiv')->nullable();
$table->string('foxpro_history_id')->nullable();
$table->bigInteger('mis_history_id')->nullable();
$table->timestamp('issue_at');
$table->timestamp('return_at')->nullable();
$table->text('comment')->nullable();

View File

@@ -13,8 +13,11 @@ return new class extends Migration
{
Schema::create('archive_infos', function (Blueprint $table) {
$table->id();
$table->morphs('historyable');
$table->string('num');
$table->string('foxpro_history_id')->nullable();
$table->bigInteger('mis_history_id')->nullable();
$table->string('foxpro_num')->nullable();
$table->string('mis_num')->nullable();
$table->string('archive_num');
$table->date('post_in');
$table->foreignIdFor(\App\Models\ArchiveStatus::class, 'status_id')->default(1);
$table->timestamps();