liberty_tables.sql 829 Bytes
Newer Older
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
create table taccounts
(
        id_account int NOT NULL AUTO_INCREMENT,
	uid blob NOT NULL,
        identity_dump blob NOT NULL,
        timestamp TIMESTAMP,
        divers blob NULL,
        unique index (id_account),
        primary key (id_account)
);

create table tnameid
(
        id_nameid int NOT NULL AUTO_INCREMENT,
	nameid varchar(100) NOT NULL, 
	id_account int NOT NULL,
        timestamp TIMESTAMP,
        divers blob NULL,
        unique index (id_nameid),
        primary key (id_nameid)
);

create table tsessions
(
	id_session int NOT NULL AUTO_INCREMENT,
        session_nb blob NOT NULL,
        id_account int NOT NULL,
	id_nameid int NOT NULL,
        session_dump blob NULL,
        timestamp TIMESTAMP,
        divers blob NULL,
        unique index (id_session),
        primary key (id_session)
);