mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 00:11:35 +02:00
24 lines
435 B
PHP
24 lines
435 B
PHP
<?php
|
|
|
|
use App\Models\GatewayType;
|
|
use App\Models\PaymentType;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
return new class extends Migration {
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
$type = new PaymentType();
|
|
|
|
$type->id = 36;
|
|
$type->name = 'Bancontact';
|
|
$type->gateway_type_id = GatewayType::BANCONTACT;
|
|
|
|
$type->save();
|
|
}
|
|
};
|