increments('id'); $table->integer('location_id')->nullable(); $table->string('name', 50)->nullable(); $table->string('address', 255)->nullable(); $table->string('postcode', 10)->nullable(); $table->string('place', 50)->nullable(); $table->string('phone', 15)->nullable(); $table->string('fax', 20)->nullable(); $table->string('email', 50)->nullable(); $table->string('companies', 100)->nullable(); $table->increments('latitude')->nullable(); $table->increments('longitude')->nullable(); $table->text('opening_hours')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('offices'); } }