1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00
invoiceninja/database/migrations/2023_10_08_092508_add_refund_meta_and_category_to_payments_table.php
2023-11-26 18:41:42 +11:00

26 lines
547 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('payments', function (Blueprint $table) {
$table->text('refund_meta')->nullable();
$table->unsignedInteger('category_id')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
}
};