increments('id'); $table->integer('country_id')->nullable(); $table->integer('city_id')->nullable(); $table->integer('location_id')->nullable(); $table->string('name', 255)->nullable(); $table->string('code', 10)->nullable(); $table->integer('code_loc')->nullable(); $table->text('text')->nullable(); $table->text('photos')->nullable(); $table->text('floor_plans')->nullable(); $table->integer('min_price')->nullable(); $table->integer('max_price')->nullable(); $table->string('upload_folder', 150)->nullable(); $table->package::package.fieldtype.ON(')')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('sublocations'); } }