clrghouz/database/migrations/2024_06_06_212553_remove_updated_at.php
Deon George 9d5d9cab84
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 39s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m47s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s
Updates to Message, Remove updated_at/mid from echomails/netmails, not used
2024-06-07 08:42:10 +10:00

30 lines
584 B
PHP

<?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
{
//
}
};