increments('id'); $table->integer('client_id')->nullable(); $table->string('ref', 100)->nullable(); $table->string('name', 100)->nullable(); $table->string('email', 100)->nullable(); $table->string('phone', 100)->nullable(); $table->string('address', 255)->nullable(); $table->string('address2', 255)->nullable(); $table->string('post_code', 255)->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('units'); } }