mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-27 19:09:01 +03:00
24 lines
404 B
PHP
24 lines
404 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
return new class extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*/
|
|
public function up(): void
|
|
{
|
|
Schema::rename('tasks', 'tasks_old');
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*/
|
|
public function down(): void
|
|
{
|
|
Schema::rename('tasks_old', 'tasks');
|
|
}
|
|
};
|