mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-07 04:59:36 +00:00
Fixed Telegram & Twitter & Linkedin Login
This commit is contained in:
28
database/migrations/2024_04_24_215344_update_oauth_type.php
Normal file
28
database/migrations/2024_04_24_215344_update_oauth_type.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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('user_oauth', static function (Blueprint $table) {
|
||||
$table->string('type', 20)->change();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('user_oauth', static function (Blueprint $table) {
|
||||
$table->string('type', 10)->change();
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user