Files

24 lines
429 B
PHP
Raw Permalink Normal View History

2017-09-11 01:15:44 -05:00
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Migrations\Migration;
class RenameTasksTableForStructureRefactor extends Migration
{
/**
* Run the migrations.
*/
2024-10-21 19:18:20 -06:00
public function up(): void
2017-09-11 01:15:44 -05:00
{
Schema::rename('tasks', 'tasks_old');
}
/**
* Reverse the migrations.
*/
2024-10-21 19:18:20 -06:00
public function down(): void
2017-09-11 01:15:44 -05:00
{
Schema::rename('tasks_old', 'tasks');
}
}