1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

remove html_backup column from backups table

This commit is contained in:
David Bomba 2022-11-07 08:56:51 +11:00
parent 9c16c12ee9
commit e18f388ae4

View File

@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('backups', function (Blueprint $table) {
$table->string('disk')->nullable();
$table->dropColumn('html_backup');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
};