Debug: Añadido log al webhook y corregida excepcion CSRF
This commit is contained in:
@@ -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('telegram_accounts', function (Blueprint $blueprint) {
|
||||
$blueprint->string('bot_state')->nullable()->after('is_verified');
|
||||
$blueprint->json('bot_data')->nullable()->after('bot_state');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('telegram_accounts', function (Blueprint $blueprint) {
|
||||
$blueprint->dropColumn(['bot_state', 'bot_data']);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user