DarkGhostHunter / Laraguard

"On-premises 2FA Authentication for all your users out-of-the-box
MIT License
266 stars 24 forks source link

MySQL 5.6 support #18

Closed adamcmoore closed 4 years ago

adamcmoore commented 4 years ago

The migration uses JSON field types which are not supported by MySQL 5.6.

Changing the fields to TEXT appears to work fine, but there is no way to publish the migration file to persist this change in our application.

DarkGhostHunter commented 4 years ago

I think this is resolved in #16 , but is pending merging.

DarkGhostHunter commented 4 years ago

Okay, here is the gist @adamcmoore : You can edit the migration file. So you can change the json field to text, and even the model you use for saving TOTP data.

Once merged, support for MySQL 5.6 should be fixed.

adamcmoore commented 4 years ago

Great, thanks for the quick reply. And thumbs up for the great package.

DarkGhostHunter commented 4 years ago

Thanks. Should be fixed in v1.2.0