tinyInteger('rejected')->default(1); $table->tinyInteger('checkDuplicates')->default(1); $table->tinyInteger('negative_area')->default(1); $table->tinyInteger('guarantor')->default(1); $table->tinyInteger('accountType')->default(1); $table->tinyInteger('no_owned_house')->default(1); $table->tinyInteger('zero_downpayment')->default(1); $table->tinyInteger('caseType')->default(1); $table->tinyInteger('ageAtLastEMI')->default(1); $table->tinyInteger('dpdCountRejection')->default(1); $table->tinyInteger('pastDues')->default(1); $table->tinyInteger('threeYear')->default(1); $table->tinyInteger('aboveThreeYear')->default(1); $table->string('case_type_value')->nullable(); $table->tinyInteger('ageAtLastEMI_age')->nullable(); $table->tinyInteger('dpdCountRejection_years')->nullable(); $table->integer('dpdCountRejection_dpds')->nullable(); $table->string('pastDues_value')->nullable(); $table->string('dpd_keywords')->nullable(); $table->tinyInteger('threeYear_years')->nullable(); $table->integer('threeYear_dpds')->nullable(); $table->string('above_dpd_keywords')->nullable(); $table->tinyInteger('aboveThreeYear_years')->nullable(); $table->integer('aboveThreeYear_dpds')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('grade_locks', function (Blueprint $table) { $table->dropColumn('rejected'); $table->dropColumn('checkDuplicates'); $table->dropColumn('negative_area'); $table->dropColumn('guarantor'); $table->dropColumn('accountType'); $table->dropColumn('no_owned_house'); $table->dropColumn('zero_downpayment'); $table->dropColumn('caseType'); $table->dropColumn('ageAtLastEMI'); $table->dropColumn('dpdCountRejection'); $table->dropColumn('pastDues'); $table->dropColumn('threeYear'); $table->dropColumn('aboveThreeYear'); $table->dropColumn('case_type_value'); $table->dropColumn('ageAtLastEMI_age'); $table->dropColumn('dpdCountRejection_years'); $table->dropColumn('dpdCountRejection_dpds'); $table->dropColumn('pastDues_value'); $table->dropColumn('threeYear_years'); $table->dropColumn('threeYear_dpds'); $table->dropColumn('aboveThreeYear_years'); $table->dropColumn('aboveThreeYear_dpds'); }); } }