Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P135
(An Untitled Masterwork)
Active
Public
Actions
Authored by
stwalkerster
on Jun 2 2017, 8:52 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Tags
ACC
Referenced Files
F20857:
Jun 2 2017, 8:52 AM
2017-06-02 08:52:13 (UTC+0)
Subscribers
None
CREATE
TABLE
session
(
id
INT
(
11
)
NOT
NULL
PRIMARY
KEY
auto_increment
,
update_version
INT
(
11
)
NOT
NULL
DEFAULT
0
,
cookie
VARCHAR
(
64
)
NOT
NULL
,
user
INT
(
11
),
location
VARCHAR
(
32
),
lastactivity
TIMESTAMP
NOT
NULL
,
login
TIMESTAMP
NOT
NULL
,
nextmfa
INT
(
11
)
NOT
NULL
DEFAULT
1
,
FOREIGN
KEY
fk_session_user
(
user
)
REFERENCES
user
(
id
)
)
ENGINE
=
InnoDB
;
CREATE
TABLE
sessionalert
(
id
INT
(
11
)
NOT
NULL
PRIMARY
KEY
auto_increment
,
update_version
INT
(
11
)
NOT
NULL
DEFAULT
0
,
session
INT
(
11
)
NOT
NULL
,
type
VARCHAR
(
10
)
NOT
NULL
,
content
BLOB
,
FOREIGN
KEY
fk_sessionalert_session
(
session
)
REFERENCES
session
(
id
)
)
ENGINE
=
InnoDB
;
Event Timeline
stwalkerster
created this paste.
Jun 2 2017, 8:52 AM
2017-06-02 08:52:13 (UTC+0)
stwalkerster
created this object with visibility "Public (No Login Required)".
Log In to Comment