ok
Direktori : /home2/selectio/www/myclassicfit.com/database/migrations/ |
Current File : /home2/selectio/www/myclassicfit.com/database/migrations/2021_10_15_213454_update_string_limit.php |
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class UpdateStringLimit extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('orders', function (Blueprint $table) { $table->string('order_status',50)->change(); $table->string('payment_method',100)->change(); $table->float('order_amount')->change(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('orders', function (Blueprint $table) { // }); } }