increments('id'); $table->string('name', 255)->nullable(); $table->string('description', 255)->nullable(); $table->text('address')->nullable(); $table->string('phone', 25)->nullable(); $table->string('email', 255)->nullable(); $table->string('password', 255)->nullable(); $table->string('api_token', 100)->nullable(); $table->string('remember_token', 60)->nullable(); $table->integer('zipcode')->nullable(); $table->string('latitude', 255)->nullable(); $table->string('longitude', 255)->nullable(); $table->string('slug', 255)->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('locations'); } }