pixelfed/database/migrations/2018_08_12_042648_update_status_table_change_caption_to_text.php
Daniel Supernault 4d1180b1c1
Fix migrations
2024-07-01 02:39:42 -06:00

31 lines
551 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class UpdateStatusTableChangeCaptionToText extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('statuses', function ($table) {
$table->text('caption')->change();
$table->text('rendered')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}