ctrlpanel/database/migrations/2023_01_12_135936_settings_to_text.php
2023-01-12 15:43:24 +01:00

32 lines
637 B
PHP

<?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('settings', function (Blueprint $table) {
$table->text('value')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('nests', function (Blueprint $table) {
$table->string('value')->change();
});
}
};