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

Diff of /papo/sql/initialization/01-own_branch.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 apronotti, Fri Feb 14 20:27:55 2003 UTC
# Line 8  delete from entity; Line 8  delete from entity;
8  insert into entity (id) values (nextval('entity_id_seq'));  insert into entity (id) values (nextval('entity_id_seq'));
9  insert into _entity_data (name,_start_t,_table) values ('Casa Central',now(),currval('entity_id_seq'));  insert into _entity_data (name,_start_t,_table) values ('Casa Central',now(),currval('entity_id_seq'));
10  insert into own_entity (id) values (nextval('own_entity_id_seq'));  insert into own_entity (id) values (nextval('own_entity_id_seq'));
11  insert into _own_entity_data (id,_start_t,_table) values (currval('entity_id_seq'),now(),currval('own_entity_id_seq'));  insert into _own_entity_data (id,_start_t,_table,entity) values (currval('entity_id_seq'),now(),currval('own_entity_id_seq'),currval('entity_id_seq'));
12  insert into own_branch (id) values (nextval('own_branch_id_seq'));  insert into own_branch (id) values (nextval('own_branch_id_seq'));
13  insert into _own_branch_data (_table,_start_t,own_entity) values (currval('own_branch_id_seq'),current_timestamp,currval('own_entity_id_seq'));  insert into _own_branch_data (_table,_start_t,own_entity) values (currval('own_branch_id_seq'),current_timestamp,currval('own_entity_id_seq'));
14    insert into persona_tax_profile (id) values (nextval('persona_tax_profile_id_seq'));
15    insert into _persona_tax_profile_data (_table,_start_t,persona,tax_profile) values (currval('persona_tax_profile_id_seq'),current_timestamp,currval('entity_id_seq'),1);

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