increments('id'); $table->integer('flat_type')->nullable(); $table->string('name', 255)->nullable(); $table->integer('no_of_floors')->nullable(); $table->integer('no_of_units')->nullable(); $table->integer('car_parking')->nullable(); $table->integer('price')->nullable(); $table->integer('owner_id')->nullable(); $table->string('area', 50)->nullable(); $table->string('city', 50)->nullable(); $table->string('state', 50)->nullable(); $table->string('country', 50)->nullable(); $table->integer('pin_code')->nullable(); $table->text('description')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('flats'); } }