6 changed files with 64 additions and 1 deletions
Binary file not shown.
@ -0,0 +1,22 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration; |
||||||
|
use Illuminate\Database\Schema\Blueprint; |
||||||
|
use Illuminate\Support\Facades\Schema; |
||||||
|
|
||||||
|
return new class extends Migration |
||||||
|
{ |
||||||
|
public function up(): void |
||||||
|
{ |
||||||
|
Schema::table('ldap_user_meta', function (Blueprint $table) { |
||||||
|
$table->text('avatar')->nullable()->after('phone'); |
||||||
|
}); |
||||||
|
} |
||||||
|
|
||||||
|
public function down(): void |
||||||
|
{ |
||||||
|
Schema::table('ldap_user_meta', function (Blueprint $table) { |
||||||
|
$table->dropColumn('avatar'); |
||||||
|
}); |
||||||
|
} |
||||||
|
}; |
||||||
Loading…
Reference in new issue