forked from FriendsOfTYPO3/openid
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_tables.sql
47 lines (42 loc) · 1.22 KB
/
ext_tables.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# Table structure for table 'be_users'
#
CREATE TABLE be_users (
tx_openid_openid varchar(255) DEFAULT '' NOT NULL
);
#
# Table structure for table 'fe_users'
#
CREATE TABLE fe_users (
tx_openid_openid varchar(255) DEFAULT '' NOT NULL
);
#
# Table structure for table 'tx_openid_assoc_store'.
#
CREATE TABLE tx_openid_assoc_store (
uid int(11) unsigned NOT NULL auto_increment,
pid int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
expires int(11) unsigned DEFAULT '0' NOT NULL,
server_url varchar(2047) DEFAULT '' NOT NULL,
assoc_handle varchar(255) DEFAULT '' NOT NULL,
content blob,
PRIMARY KEY (uid),
KEY assoc_handle (assoc_handle(8)),
KEY expires (expires)
) ENGINE=InnoDB;
#
# Table structure for table 'tx_openid_nonce_store'.
#
CREATE TABLE tx_openid_nonce_store (
uid int(11) unsigned NOT NULL auto_increment,
pid int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
server_url varchar(2047) DEFAULT '' NOT NULL,
salt char(40) DEFAULT '' NOT NULL,
PRIMARY KEY (uid),
UNIQUE KEY nonce (server_url(255),tstamp,salt),
KEY crdate (crdate)
) ENGINE=InnoDB;