increments('id'); $table->integer('site_id')->nullable(); $table->string('name', 100)->nullable(); $table->string('address', 100)->nullable(); $table->string('city', 100)->nullable(); $table->string('postcode', 100)->nullable(); $table->decimal('latitude', 11,8)->nullable(); $table->decimal('longitude', 11,8)->nullable(); $table->string('slug', 200)->nullable(); $table->bigInteger('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('locations'); } }