Maurits van der Schee

Results 317 comments of Maurits van der Schee
trafficstars

How would one differentiate a 1 to 1 relationship from a 1 to many relationship in SQL? Can you share your table create script for two tables with a 1...

>am I wrong? No.. you aren't, it is a great suggestion. I guess I could try to detect the combination of a FK and a unique constraint. I'll turn this...

There may be a problem of a table having two 1-on-1 relationships with another table, but that is an edge case and may be solved with some form of aliasing.

Is it ready to merge? Did you accidentally close it?

Try adding "columns" to the the "controllers" config parameter. It does what you want.

>I would like to use both social login (like google or facebook or whatever) with my own jwt auth mode. I would/should such a mechanism be structured? I think auth0...

>they should actually do the same job, right? No, auth0 has the social logins implemented and with [php-api-auth](https://github.com/mevdschee/php-api-auth) you will have to build those social login integrations for yourself.

>do I have to implement my own JWT auth method (and I would use php-crud-auth for that) and remove dbAuth as auth method option from php-crud-api? Yes, that is what...

I'm closing the issue for now. Feel free to follow-up if you have any further questions, either on this issue (I'll re-open) or on a new one.