Add open wallet at mobile login param in networks

This commit is contained in:
Djery-Tom 2022-05-16 13:23:00 +01:00
parent 2b8bccc1e0
commit ebd116dd35
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddOpenWalletAtMobileLoginToNetworks extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('networks', function (Blueprint $table) {
$table->boolean('open_wallet_at_mobile_login')->default(0)->after('name');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('networks', function (Blueprint $table) {
$table->dropColumn('open_wallet_at_mobile_login');
});
}
}