OSDN Git Service

modified sql 20140213-2
[zither/ds-zither.git] / database / postgres / user_auth_table.sql
1
2 CREATE TABLE user_auth_table (
3         aastat_in     int not null,
4         cnum_in       int not null,
5         eoa1_in       int not null,
6         eoa2_in       int not null,
7         soip_inet     inet,
8         starttime_lin bigint,
9         stoptime_lin  bigint,
10         lltime_lin    bigint,
11         detime_lin    bigint,
12         fmaddr_ch256  char[256] not null,
13         uname_ch128   char[128] not null,
14         pass_ch256    char[256] not null,
15         sesid_ch256   char[256],
16         makeys_ch256  char[256],
17         uukey_in      serial
18 );
19
20 COMMENT ON TABLE user_auth_table IS '';
21 COMMENT ON COLUMN user_auth_table.aastat_in IS '';
22 COMMENT ON COLUMN user_auth_table.cnum_in IS '';
23 COMMENT ON COLUMN user_auth_table.eoa1_in IS '';
24 COMMENT ON COLUMN user_auth_table.eoa2_in IS '';
25 COMMENT ON COLUMN user_auth_table.soip_inet IS '';
26 COMMENT ON COLUMN user_auth_table.starttime_lin IS '';
27 COMMENT ON COLUMN user_auth_table.stoptime_lin IS '';
28 COMMENT ON COLUMN user_auth_table.lltime_lin IS '';
29 COMMENT ON COLUMN user_auth_table.detime_lin IS '';
30 COMMENT ON COLUMN user_auth_table.fmaddr_ch256 IS '';
31 COMMENT ON COLUMN user_auth_table.uname_ch128 IS '';
32 COMMENT ON COLUMN user_auth_table.pass_ch256 IS '';
33 COMMENT ON COLUMN user_auth_table.sesid_ch256 IS '';
34 COMMENT ON COLUMN user_auth_table.makeys_ch256 IS '';
35 COMMENT ON COLUMN user_auth_table.uukey_in IS '';
36