chenge two table and improve safetyand privacy controller and request

This commit is contained in:
2025-04-23 14:01:03 +03:30
parent 89f39a1f33
commit 5e4f6379ff
3 changed files with 22 additions and 7 deletions

View File

@@ -17,6 +17,9 @@ return new class extends Migration
$table->string('status_fa')->nullable();
$table->string('supervisor_description')->nullable();
$table->string('final_description')->nullable();
$table->boolean('need_judiciary')->nullable();
$table->text('judiciary_document')->nullable()->change();
$table->dateTime('judiciary_document_upload_date')->nullable()->change();
});
}
@@ -26,7 +29,9 @@ return new class extends Migration
public function down(): void
{
Schema::table('safety_and_privacy', function (Blueprint $table) {
$table->dropColumn(['status', 'final_description', 'is_finished', 'supervisor_description', 'status_fa']);
$table->dropColumn(['status', 'final_description', 'is_finished', 'supervisor_description', 'status_fa', 'need_judiciary']);
$table->text('judiciary_document')->change();
$table->dateTime('judiciary_document_upload_date')->change();
});
}
};