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

sr57's avatar
Level 39

php artisan ui:auth - no migration!?

I setup Laravel8 with Vue3, than ran 'php artisan ui:auth' to setup authentication. The blade files were scafolded but I got no change in the db!

Does anyone see what I missed? Have a other method to setup auth? (I don't use jetstream cause it comes with Vue2)

0 likes
6 replies
Sinnbeck's avatar

Did you try just running it ? php artisan migrate

sr57's avatar
Level 39

Yes -> Nothing to migrate.

Not a big deal, I can manually create the migration, but should be good to understand ...

sr57's avatar
Level 39

Does the migration already exist?

No it doesn't

Or did you run the command with --views ?

No, but same thing, with ths option

Thanks for the link, I'll have a look on it later, I've to go now.

Sinnbeck's avatar

I meant you need to ensure you run it without it php artisan ui:auth

sr57's avatar
Level 39

Thanks for the link, I understood what the command do, and it did ok. I correct my previous answer.

Does the migration already exist?

Yes it does, migrations/2014_10_12_100000_create_password_resets_table.php

I thought, it should have created same migration as jetstream! and I "reread" https://laravel.com/docs/8.x/starter-kits

Please or to participate in this conversation.