Welcome Guest, Not a member yet? Register   Sign In
Multiple primary keys for protected $primaryKey
#7

I don't know if this is possible but, can you create a column in table that concat 2 field?
If this is possible, in that case, the pk in the mysql table remain the same, but in ci4, you can point the pk to the composite field that you create.
Reply


Messages In This Thread
RE: Multiple primary keys for protected $primaryKey - by Matleyx - 12-11-2020, 11:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB