PATH:
home
/
lab2454c
/
vaultchip.com
/
platform
/
plugins
/
payment
/
database
/
migrations
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class MakeColumnCurrencyNullable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('payments', function (Blueprint $table) { $table->string('currency', 120)->nullable()->change(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('payments', function (Blueprint $table) { $table->string('currency', 120)->change(); }); } }
[+]
..
[-] 2021_08_09_161302_add_metadata_column_to_payments_table.php
[edit]
[-] 2021_05_24_034720_make_column_currency_nullable.php
[edit]
[-] 2017_05_18_080441_create_payment_tables.php
[edit]
[-] 2021_03_27_144913_add_customer_type_into_table_payments.php
[edit]