Skip to content

Instantly share code, notes, and snippets.

View SkullMasher's full-sized avatar

Florian Ledru SkullMasher

View GitHub Profile
@SkullMasher
SkullMasher / 2021_05_24_232907_add_soft_deletes_to_media_table.php
Created May 25, 2021 00:24
Add the deleted_at (aka softDeletes) column to the akaunting media tables to help solve 500 errors
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddSoftDeletesToMediaTables extends Migration
{
/**
* Run the migrations.