2022-06-10 23:22:41 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
2023-04-27 02:01:55 +02:00
|
|
|
return new class extends Migration
|
2022-06-10 23:22:41 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2023-05-24 22:21:54 +02:00
|
|
|
public function up(): void
|
2022-06-10 23:22:41 +02:00
|
|
|
{
|
|
|
|
Schema::table('applications', function (Blueprint $table) {
|
|
|
|
$table->string('app_status', 1024)->change();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2023-05-24 22:21:54 +02:00
|
|
|
public function down(): void
|
2022-06-10 23:22:41 +02:00
|
|
|
{
|
|
|
|
Schema::table('applications', function (Blueprint $table) {
|
|
|
|
$table->string('app_status', 8)->change();
|
|
|
|
});
|
|
|
|
}
|
2023-04-27 02:01:55 +02:00
|
|
|
};
|