commit | author | age
|
314fea
|
1 |
|
U |
2 |
|
|
3 |
CREATE TABLE APP.USERS |
|
4 |
( |
|
5 |
USER_NAME VARCHAR(250) NOT NULL, |
e0ec31
|
6 |
USER_PASS VARCHAR(1024) NOT NULL, |
314fea
|
7 |
USER_FIRST VARCHAR(250), |
U |
8 |
USER_LAST VARCHAR(250), |
|
9 |
USER_EMAIL VARCHAR(250), |
|
10 |
USER_CREATED VARCHAR(14), |
|
11 |
PRIMARY KEY (USER_NAME) |
|
12 |
); |
|
13 |
|
|
14 |
CREATE TABLE APP.USER_ROLES |
|
15 |
( |
|
16 |
USER_NAME VARCHAR(250) NOT NULL, |
|
17 |
ROLE_NAME VARCHAR(250) NOT NULL, |
|
18 |
PRIMARY KEY (USER_NAME, ROLE_NAME) |
|
19 |
); |
d313b3
|
20 |
insert into APP.USER_ROLES (user_name, role_name) values ('admin', 'manager-script'); |
57c58d
|
21 |
insert into APP.USER_ROLES (user_name, role_name) values ('admin', 'nutzerAdmin'); |
ce8261
|
22 |
insert into APP.USER_ROLES (user_name, role_name) values ('admin', 'wbxAdmin'); |
c16501
|
23 |
insert into APP.USER_ROLES (user_name, role_name) values ('admin', 'ownFileAdmin'); |
0e1f47
|
24 |
insert into APP.USER_ROLES (user_name, role_name) values ('admin', 'sqlKonsole'); |
314fea
|
25 |
|
U |
26 |
create table APP.keytable ( |
|
27 |
key_name varchar(80) not null primary key, |
|
28 |
key_next int |
|
29 |
); |
|
30 |
create index key_name_next ON APP.keytable (key_name,key_next); |
|
31 |
insert into APP.keytable (key_name, key_next) values ('gr_id',1); |
|
32 |
insert into APP.keytable (key_name, key_next) values ('mt_id',1); |
|
33 |
|
|
34 |
create table APP.methoden ( |
|
35 |
mt_id int, |
|
36 |
mt_klasse varchar(32000), |
|
37 |
mt_name varchar(32000), |
|
38 |
primary key (mt_id) |
|
39 |
); |
|
40 |
create index mtkm on APP.methoden (mt_klasse,mt_name); |
|
41 |
|
|
42 |
create table APP.methoden_rechte ( |
|
43 |
role_name varchar(250), |
|
44 |
mt_id int, |
|
45 |
primary key (role_name,mt_id) |
|
46 |
); |