Commit 87dd2bb
committed
[ADD] util/pg.py: add helper to create backup column
- we need to have backup of the column sometime in script
to update later
- or on requirement of customer we need to have backup of
the deprecated stored field
- this function will help to have backup of values
having the column name appended '_upg_copy'
closes #351
Signed-off-by: Alvaro Fuentes Suarez (afu) <afu@odoo.com>1 parent 92efe24 commit 87dd2bb
1 file changed
+31
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
701 | 732 | | |
702 | 733 | | |
703 | 734 | | |
| |||
0 commit comments