We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb41212 commit 658c517Copy full SHA for 658c517
1 file changed
user_guide_src/source/libraries/sessions.rst
@@ -615,6 +615,11 @@ setting**. The examples below work both on MySQL and PostgreSQL::
615
// To drop a previously created primary key (use when changing the setting)
616
ALTER TABLE ci_sessions DROP PRIMARY KEY;
617
618
+.. important:: If you don't add the correct primary key, the following error
619
+ may occur::
620
+
621
+ Uncaught mysqli_sql_exception: Duplicate entry 'ci_session:***' for key 'ci_sessions.PRIMARY'
622
623
You can choose the Database group to use by adding a new line to the
624
**app/Config/Session.php** file with the name of the group to use:
625
0 commit comments