clrghouz/database/migrations/2024_06_06_212553_remove_updated_at.php

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