Image Upload
Hello
When I upload the image, I'm not able to get it to show in the column, how can I do that?
I have nullable in the database table
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->string('avatar')->nullable();
$table->integer('team_id')->nullable();
//$table->foreignIdFor(Team::class)->index();
$table->rememberToken();
$table->timestamps();
$table->softDeletes();
});
}
When I upload the image, I'm not able to get it to show in the column, how can I do that?
I have nullable in the database table
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->string('avatar')->nullable();
$table->integer('team_id')->nullable();
//$table->foreignIdFor(Team::class)->index();
$table->rememberToken();
$table->timestamps();
$table->softDeletes();
});
}

Solution
check if the file actually uploaded to the storage folder
and run
php artisan storage:link
and run
php artisan storage:link