twitter bot added

This commit is contained in:
Benjamin Takats
2023-01-15 23:29:59 +01:00
parent ea05c93365
commit 05887c7daa
11 changed files with 432 additions and 15 deletions

View File

@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
* @return void
*/
public function up()
{
Schema::table('twitter_accounts', function (Blueprint $table) {
$table->text('token')
->nullable()
->change();
$table->text('refresh_token')
->nullable();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
Schema::table('twitter_accounts', function (Blueprint $table) {
//
});
}
};