add data input to request

This commit is contained in:
2025-10-18 09:20:24 +03:30
parent 352b506196
commit ae3a2b8ce0
6 changed files with 37 additions and 5 deletions

View File

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('harims', function (Blueprint $table) {
$table->longText('data')->nullable();
$table->string('token', 255);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('harims', function (Blueprint $table) {
$table->dropColumn(['data', 'token']);
});
}
};