clrghouz/database/migrations/2024_06_06_212553_remove_updated_at.php
Deon George 06c29d8750
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 35s
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:54:49 +10:00

32 lines
696 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']);
$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
{
//
}
};