Add Payment Id to bank transactions table

This commit is contained in:
David Bomba 2022-11-30 17:36:26 +11:00
parent 4d3200fad2
commit 15ac423ecb
12 changed files with 85 additions and 1 deletions

View File

@ -0,0 +1,39 @@
<?php
use App\Utils\Traits\AppSetup;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
use AppSetup;
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('bank_transactions', function (Blueprint $table) {
$table->unsignedInteger('payment_id')->nullable();
});
\Illuminate\Support\Facades\Artisan::call('ninja:design-update');
$this->buildCache(true);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
};

View File

@ -332,6 +332,10 @@
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -316,6 +316,10 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -305,6 +305,10 @@
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -297,7 +297,11 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -269,6 +269,11 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -274,6 +274,10 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -291,6 +291,10 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -318,6 +318,10 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -261,6 +261,10 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/

View File

@ -334,6 +334,10 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/

View File

@ -298,6 +298,10 @@
font-weight: bold;
color: #505050;
}
.pqrcode {
}
/** Useful snippets, uncomment to enable. **/
/** Hide company logo **/