Files
panel-pelican-dev/database/migrations/2018_01_01_122821_AllowNegativeValuesForServerSwap.php

29 lines
606 B
PHP
Raw Permalink Normal View History

<?php
use Illuminate\Database\Migrations\Migration;
2025-09-24 13:34:19 +02:00
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
2024-03-19 21:03:50 -04:00
return new class extends Migration
{
/**
* Run the migrations.
*/
2024-03-19 21:12:27 -04:00
public function up(): void
{
Schema::table('servers', function (Blueprint $table) {
$table->integer('swap')->change();
});
}
/**
* Reverse the migrations.
*/
2024-03-19 21:12:27 -04:00
public function down(): void
{
Schema::table('servers', function (Blueprint $table) {
$table->unsignedInteger('swap')->change();
});
}
2024-03-19 21:03:50 -04:00
};