Community mailing list archives

Re: Migrate :: Persist from pre- to post-

Graeme Gellatly
- 06/19/2016 02:19:03

Not quite true. It will only give you postgres foreign keys. Need to think about translations, properties, xml reference and possibly functional fields. Also sequences. Anygrate was a csv based migration tool I worked a lot on, solving this is not a simple sql statement.

On Sun, 19 Jun 2016 2:52 PM David Arnold <> wrote:
This is the famous query to fish out all places relating to model. The first building block for the mentioned problem. For that it's worth sharing...

El jue., 16 jun. 2016 a las 18:41, David Arnold (<>) escribió:

I want to write an updating algorithm taking advantage of the new company dependent external ids created for accounts (1_account_2530).

Basically what I want to accomplish is a check weather there was a change in the templates across module updating.

Of course I would be able to simply create a temporary database table, BUT this would not automatically fetch present (and potentially future) many2many relationships as they are stored in separate (unkown at the time of coding) tables.

Can you give me any advice on how to access/save pre-migration state across the data loding porcess?

Thanks in advance!

Best, David

Post to: