Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

reniar1's avatar

Laravel 11 installation with sail migration problem

Hello

I have installed livewire via sail macOS

curl -s "https://laravel.build/example-app" | bash

next I have done

composer require laravel/jetstream

and

php artisan jetstream:install livewire --dark

during the installation I am asked if I want to re-run migrations I answer with yes ...

following there is an error while migrating a column in the DB saying:


   INFO  Running migrations.

  2024_03_12_181701_add_two_factor_columns_to_users_table ............................................. 4.71ms FAIL

   Illuminate\Database\QueryException

  SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'two_factor_secret'```

Is jetstream not ready for larvel 11 or can someone find a simple and fast workaround for that?
0 likes
1 reply
reniar1's avatar
reniar1
OP
Best Answer
Level 2

solved by uncommenting the DBname in .env

1 like

Please or to participate in this conversation.