increments('id'); $table->integer('role_id')->nullable(); $table->string('title', 255)->nullable(); $table->string('name', 255)->nullable(); $table->string('surname', 255)->nullable(); $table->string('phone', 255)->nullable(); $table->string('email', 255)->nullable(); $table->enum('ageny_type', ['PR','Media','SEO'])->nullable(); $table->string('password', 255)->nullable(); $table->string('api_token', 255)->nullable(); $table->string('remember_token', 255)->nullable(); $table->string('email_verified', 255)->nullable(); $table->longText('permissions')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->text('photo')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('companies'); } }