joselfonseca / lighthouse-graphql-passport-auth

Add GraphQL mutations to get tokens from passport for https://lighthouse-php.com/
https://lighthouse-php-auth.com/
MIT License
228 stars 56 forks source link

Update 2019_11_19_000000_update_social_provider_users_table.php #139

Closed stephenjason89 closed 3 years ago

stephenjason89 commented 3 years ago

changed user_id type to avoid

(errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table social_providers add constraint social _providers_user_id_foreign foreign key (user_id) references users (id) on delete cascade)