Updates to Message, Remove updated_at/mid from echomails/netmails, not used
This commit is contained in:
31
database/migrations/2024_06_06_212553_remove_updated_at.php
Normal file
31
database/migrations/2024_06_06_212553_remove_updated_at.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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
|
||||
{
|
||||
//
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user