diff --git a/app/Models/SystemLog.php b/app/Models/SystemLog.php index 1b6640d..019e22d 100644 --- a/app/Models/SystemLog.php +++ b/app/Models/SystemLog.php @@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model; class SystemLog extends Model { + const UPDATED_AT = null; + /* RELATIONS */ public function mailer() diff --git a/database/migrations/2024_11_08_211845_systemlog_drop_updated_at.php b/database/migrations/2024_11_08_211845_systemlog_drop_updated_at.php new file mode 100644 index 0000000..b1b4fb6 --- /dev/null +++ b/database/migrations/2024_11_08_211845_systemlog_drop_updated_at.php @@ -0,0 +1,28 @@ +dropColumn(['updated_at']); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('system_logs', function (Blueprint $table) { + $table->timestamp('updated_at'); + }); + } +};