Merge branch 'ujrah_master' of https://bitbucket.org/arrahn-pkb/api_arrahn into finadev

This commit is contained in:
Afrina Alimi
2023-12-03 09:34:01 +08:00
9 changed files with 329 additions and 13 deletions
@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddDuitpelangganToTransactionTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::connection('mysql7')->table('transaction', function (Blueprint $table) {
$table->decimal('duitpelanggan', 9, 2);
$table->decimal('bakipelanggan', 9, 2);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::connection('mysql7')->table('transaction', function (Blueprint $table) {
$table->dropColumn(['duitpelanggan','bakipelanggan']);
});
}
}