Merge pull request #611 from einsz/fixed-nests-description

change nest description from string to text
This commit is contained in:
Dennis 2023-01-04 06:48:42 +01:00 committed by GitHub
commit 4aa2f65ec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateMakeDescriptionTextInNestsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('nests', function (Blueprint $table) {
$table->text('description')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('nests', function (Blueprint $table) {
$table->string('description')->change();
});
}
}