Welcome Guest, Not a member yet? Register   Sign In
edit table and add new index key with forge
#2

According to the user guide it looks like it’s only possible when creating a table.
Quote:AddKey(): Adds a key to the set that will be used to create a table.

I guess you could execute an SQL query to create your index directly if it’s not possible with the Forge class.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
RE: edit table and add new index key with forge - by includebeer - 12-27-2020, 08:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB