Export to postgres
Detail update hind don't work
detail insert dont't work
delete not testes