Welcome Guest, Not a member yet? Register   Sign In
Database and session library ?
#4

(07-25-2019, 04:25 AM)InsiteFX Wrote: It's all right there in the CodeIgniter 4 User's Guide.

Database Sessions

Yes, I know that everything is in order,
but I would like to know how(or where) I can change the names of the fields that used in this library ?


CREATE TABLE IF NOT EXISTS `ci_sessions` (
       `id` varchar(128) NOT NULL,
       `ip_address` varchar(45) NOT NULL,
       `timestamp` int(10) unsigned DEFAULT 0 NOT NULL,
       `data` blob NOT NULL,
       KEY `ci_sessions_timestamp` (`timestamp`)
);


For example, I want to have the name "users_ip" instead of "ip_address", and the place "id" I want to be "users_id"...
I would change this world, but God doesn't give me the source.
Reply


Messages In This Thread
Database and session library ? - by Digital_Wolf - 07-24-2019, 10:00 AM
RE: Database and session library ? - by InsiteFX - 07-25-2019, 04:25 AM
RE: Database and session library ? - by Digital_Wolf - 07-25-2019, 12:11 PM
RE: Database and session library ? - by kilishan - 07-25-2019, 02:00 PM
RE: Database and session library ? - by kilishan - 07-26-2019, 06:22 AM
RE: Database and session library ? - by Navindex - 10-30-2019, 10:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB