3 |
if [ -z "$1" ]; then |
if [ -z "$1" ]; then |
4 |
cat <<EOF |
cat <<EOF |
5 |
|
|
6 |
Este script convierte una base (postgres) de PAPO 0.1.8 a 0.1.9. Se |
Este script convierte una base (postgres) de PAPO 0.1.9 a 0.1.10. Se |
7 |
utiliza de la siguiente manera: |
utiliza de la siguiente manera: |
8 |
|
|
9 |
$0 <base> [<opciones>...] |
$0 <base> [<opciones>...] |
82 |
|
|
83 |
UPDATE _own_pos_data SET own_pos = currval('entity_id_seq') ; |
UPDATE _own_pos_data SET own_pos = currval('entity_id_seq') ; |
84 |
|
|
85 |
|
ALTER TABLE own_document ADD COLUMN net_total numeric(12,4); |
86 |
|
ALTER TABLE own_document ADD COLUMN tax_total numeric(12,4); |
87 |
|
ALTER TABLE alien_document ADD COLUMN net_total numeric(12,4); |
88 |
|
ALTER TABLE alien_document ADD COLUMN tax_total numeric(12,4); |
89 |
|
|
90 |
EOF |
EOF |
91 |
|
|
92 |
|
|
93 |
|
gfcvs 0.1.9-0.1.10.gfd |