string('value')->nullable()->change(); }); } /** * Reverse the migrations. * * @return void */ public function down() { //disallow value column in settings table to be nullable Schema::table('settings', function (Blueprint $table) { $table->string('value')->nullable(false)->change(); }); } };