increments('id'); $table->string('name', 250)->nullable(); $table->date('dob')->nullable(); $table->enum('gender', ['Male','Female'])->nullable(); $table->string('nationality', 100)->nullable(); $table->string('city', 100)->nullable(); $table->string('state', 100)->nullable(); $table->string('pincode', 100)->nullable(); $table->string('phone', 100)->nullable(); $table->string('mobile', 100)->nullable(); $table->string('guardian', 255)->nullable(); $table->text('permenant_address')->nullable(); $table->text('description')->nullable(); $table->text('sslc')->nullable(); $table->text('plustwo')->nullable(); $table->enum('qualifying_exam', ['HSC Kerala','HSC Other State','HSC CBSE(Central Board])->nullable(); $table->increments(''HSC')->nullable(); $table->increments(''Others')')->nullable(); $table->string('nata_score', 100)->nullable(); $table->string('slug', 200)->nullable(); $table->enum('status', ['draft', 'complete', 'verify', 'approve', 'publish', 'unpublish', 'archive'])->default('draft')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type',50)->nullable(); $table->string('upload_folder', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('admissions'); } }