/[papo]/papo/sql/initialization/01-entity_type.sql
ViewVC logotype

Diff of /papo/sql/initialization/01-entity_type.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jlenton, Tue Feb 4 21:11:53 2003 UTC revision 1.2 by mhepp, Thu Apr 3 19:37:31 2003 UTC
# Line 1  Line 1 
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);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26