mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Add new gateway type
This commit is contained in:
parent
a8f16deaf7
commit
11f2776128
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use App\Models\GatewayType;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class AddGatewayTypeForDirectDebit extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
$type = new GatewayType();
|
||||
|
||||
$type->id = 18;
|
||||
$type->alias = 'direct_debit';
|
||||
$type->name = 'Direct Debit';
|
||||
|
||||
$type->save();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user