osb/database/migrations/2020_07_24_153836_addpending_to_payment.php
2020-07-27 14:49:59 +10:00

33 lines
654 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddpendingToPayment extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('ab_payment', function (Blueprint $table) {
$table->string('pending')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('ab_payment', function (Blueprint $table) {
$table->dropColumn('pending');
});
}
}