SSOfy Laravel package creates a database table to link the social provider's credentials to the actual user record in your database in order to support social authentication features.
This is only required if you enabled Social Authentication. If not, you might wish to remove any extra migration files that the package created.
Additionally, if the columns for username
, email
, phone
, etc. do not already exist in your database's users table, they will be added by another migration file.
All data gathered during the registration process will be stored in the metadata
column. You might want to adjust the User
model and add an array cast for metadata
.
protected $casts = [
'metadata' => 'array',
];
php artisan vendor:publish --tag=ssofy:migrations
You should be able to migrate your Laravel application as usual:
php artisan migrate