clrghouz/database/migrations/2024_06_06_212553_remove_updated_at.php

30 lines
584 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.
*/
public function up(): void
{
Schema::table('echomails', function (Blueprint $table) {
$table->dropColumn(['updated_at','mid']);
});
Schema::table('netmails', function (Blueprint $table) {
$table->dropColumn(['updated_at','mid']);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};