Closed
Bug 608023
Opened 14 years ago
Closed 14 years ago
stage socorro create session database and update Kohana configs
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ozten, Assigned: jabba)
Details
Please execute the following SQL in stage:
CREATE TABLE sessions (
session_id varchar(127) NOT NULL,
last_activity integer NOT NULL,
data text NOT NULL,
CONSTRAINT session_id_pkey PRIMARY KEY (session_id),
CONSTRAINT last_activity_check CHECK (last_activity >= 0)
);
Create a config:
cp webapp-php/system/config/session.php webapp-php/application/config/session.php
Edit and update
$config['driver'] = 'database';
These instructions have also been added to
http://code.google.com/p/socorro/wiki/SocorroUpgrade
Related info: http://docs.kohanaphp.com/libraries/session
Assignee | ||
Updated•14 years ago
|
Assignee: server-ops → jdow
Assignee | ||
Comment 1•14 years ago
|
||
breakpad=> CREATE TABLE sessions (
breakpad(> session_id varchar(127) NOT NULL,
breakpad(> last_activity integer NOT NULL,
breakpad(> data text NOT NULL,
breakpad(> CONSTRAINT session_id_pkey PRIMARY KEY (session_id),
breakpad(> CONSTRAINT last_activity_check CHECK (last_activity >= 0)
breakpad(> );
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "session_id_pkey" for table "sessions"
CREATE TABLE
breakpad=>
Done.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•