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

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

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

revision 1.1 by apronotti, Tue Jan 28 21:15:16 2003 UTC revision 1.2 by apronotti, Tue Jan 28 21:27:27 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 (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (1);
4  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'alien_storehouse',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'alien_storehouse',1);
5  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (2;
6  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'contact',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'contact',2);
7  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (3);
8  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'persona',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'persona',3);
9  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (4);
10  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'employee',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'employee',4);
11  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (5);
12  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'own_storehouse',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'own_storehouse',5);
13  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (6);
14  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'own_branch',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'own_branch',6);
15  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (7);
16  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'client',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'client',7);
17  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (8);
18  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'provider',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'provider',8);
19  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (9));
20  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'bank_branch',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'bank_branch',9);
21  INSERT INTO "entity_type" VALUES (nextval('entity_type_id_seq'));  INSERT INTO "entity_type" VALUES (10);
22  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'bank',currval('entity_type_id_seq'));  INSERT INTO "_entity_type_data" ("_start_t","_end_t","name",_table) VALUES (current_timestamp,NULL,'bank',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