2023-03-27 10:44:31 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
2023-08-11 20:48:52 +02:00
|
|
|
return new class extends Migration
|
|
|
|
{
|
2023-03-27 10:44:31 +02:00
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*/
|
|
|
|
public function up(): void
|
|
|
|
{
|
2023-08-07 18:46:40 +02:00
|
|
|
Schema::table('applications', function (Blueprint $table) {
|
|
|
|
$table->string('description')->nullable();
|
2023-03-27 10:44:31 +02:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*/
|
|
|
|
public function down(): void
|
|
|
|
{
|
2023-08-07 18:46:40 +02:00
|
|
|
Schema::table('applications', function (Blueprint $table) {
|
|
|
|
$table->dropColumn('description');
|
|
|
|
});
|
2023-03-27 10:44:31 +02:00
|
|
|
}
|
2023-08-08 11:51:36 +02:00
|
|
|
};
|