1 |
DELETE FROM _entity_type_data; |
DELETE FROM _entity_type_data; |
2 |
DELETE FROM entity_type; |
DELETE FROM entity_type; |
3 |
|
INSERT INTO entity_type VALUES (11); |
4 |
|
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'entity',NULL,11); |
5 |
|
INSERT INTO entity_type VALUES (12); |
6 |
|
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'own_entity',11,12); |
7 |
|
INSERT INTO entity_type VALUES (13); |
8 |
|
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'alien_entity',11,13); |
9 |
INSERT INTO entity_type VALUES (1); |
INSERT INTO entity_type VALUES (1); |
10 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'alien_storehouse',1); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'alien_storehouse',13,1); |
11 |
INSERT INTO entity_type VALUES (2); |
INSERT INTO entity_type VALUES (2); |
12 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'contact',2); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'contact',13,2); |
13 |
INSERT INTO entity_type VALUES (3); |
INSERT INTO entity_type VALUES (3); |
14 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'persona',3); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'persona',13,3); |
15 |
INSERT INTO entity_type VALUES (4); |
INSERT INTO entity_type VALUES (4); |
16 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'employee',4); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'employee',12,4); |
17 |
INSERT INTO entity_type VALUES (5); |
INSERT INTO entity_type VALUES (5); |
18 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'own_storehouse',5); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'own_storehouse',12,5); |
19 |
INSERT INTO entity_type VALUES (6); |
INSERT INTO entity_type VALUES (6); |
20 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'own_branch',6); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'own_branch',12,6); |
21 |
INSERT INTO entity_type VALUES (7); |
INSERT INTO entity_type VALUES (7); |
22 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'client',7); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'client',3,7); |
23 |
INSERT INTO entity_type VALUES (8); |
INSERT INTO entity_type VALUES (8); |
24 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'provider',8); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'provider',3,8); |
25 |
INSERT INTO entity_type VALUES (9); |
INSERT INTO entity_type VALUES (9); |
26 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'bank_branch',9); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'bank_branch',3,9); |
27 |
INSERT INTO entity_type VALUES (10); |
INSERT INTO entity_type VALUES (10); |
28 |
INSERT INTO _entity_type_data ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'bank',10); |
INSERT INTO _entity_type_data ("_start_t","_end_t","name","parent",_table) VALUES (current_timestamp,NULL,'bank',3,10); |