insert into entity (id) values (1);
insert into _entity_data (name,_start_t,_table) values ('Casa Central',now(),1);
insert into own_entity (id) values (1);
insert into _own_entity_data (id,_start_t,_table,entity) values (1,now(),1,1);
insert into own_pos (id) values (1);
insert into _own_pos_data (_table,_start_t,own_entity) values (1,current_timestamp,1);

--cargo entity types
insert into entity_types (id) values (nextval('entity_types_id_seq'));
insert into _entity_types_data (_table,_start_t,entity,entity_type) values (currval('entity_types_id_seq'),current_timestamp,1,15);
--ajusto los valores de seq

select setval('"entity_id_seq"',1,true);
select setval('"own_entity_id_seq"',1,true);
select setval('"own_pos_id_seq"',1,true);


