Skip to content
This repository has been archived by the owner on May 28, 2020. It is now read-only.

Commit

Permalink
CI 3 Update
Browse files Browse the repository at this point in the history
I have updated the ci_sessions sql to the CI 3 spec.
  • Loading branch information
Robert Fulcher committed Feb 12, 2015
1 parent 1452931 commit 95b687b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions database/dx_auth.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--

CREATE TABLE IF NOT EXISTS `ci_sessions` (
`session_id` varchar(40) collate utf8_bin NOT NULL default '0',
`ip_address` varchar(16) collate utf8_bin NOT NULL default '0',
`user_agent` varchar(150) collate utf8_bin NOT NULL,
`last_activity` int(10) unsigned NOT NULL default '0',
`user_data` text collate utf8_bin NOT NULL,
PRIMARY KEY (`session_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
`id` varchar(40) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) unsigned DEFAULT 0 NOT NULL,
`data` blob DEFAULT '' NOT NULL,
PRIMARY KEY (id),
KEY `ci_sessions_timestamp` (`timestamp`)
);

-- --------------------------------------------------------

Expand Down

0 comments on commit 95b687b

Please sign in to comment.