Monday, October 28, 2019

Laravel Seed User Table Password

> php artisan make:migration --create users create_users_table created migration: 2014_09_23_121027_create_users_table add your fields, i set email to unique because for authentication use this. if you like can use username.. I want to seed users to database but seeder doesn't create password. i have this migration file <?php use illuminatedatabaseschemablueprint; use illuminatedatabasemigrationsmigration; class createuserstable extends migration { /** * run the migrations.. Configure your laravel app to use two mysql connections (how to use multiple database in laravel), one for the new database, the other for the old one. i'll fake it like old and new. in your seeds read from the old database and write into the new..



?? � laravel-admin??????

?