Files
librenms-librenms/database/migrations/2022_05_30_084932_update-app-status-length.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
681 B
PHP
Raw Normal View History

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