ellaisys / aws-cognito

AWS Cognito package (with MFA Feature) using the AWS SDK for PHP/Laravel
https://ellaisys.github.io/aws-cognito/
MIT License
110 stars 43 forks source link

Problem migration #81

Closed melenas1414 closed 1 year ago

melenas1414 commented 1 year ago

Describe the bug The anonymous migrations are compatible since laravel 8.37: https://laravel-news.com/laravel-anonymous-migrations

amitdhongde commented 1 year ago

The Laravel version check is added as part of the anonymous migration.

melenas1414 commented 1 year ago

Migration not working below Laravel version 8

amitdhongde commented 1 year ago

@melenas1414 ... The anonymous migrations don't work below Laravel version 8.37. So you will need to modify your existing migration and run that. Refer the note in the readme document "This is a new feature that is released in V1.2.0 and shall work with Laravel 8.37 (with anonymous migration support). For verions below Laravel 8.37, this feature is disabled. You will need to update the users table migration and add the sub column (type:string, nullable:yes, index:yes)."