Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6841 Näkymät

How To change ID of record which is primary key.  I like to change id of res_country, res_country_state?

Avatar
Hylkää
Paras vastaus

That's a terrible thing to do.

But, if you must, I'd say: use postgresql. Remove the key, change the value of the record and, then, recreate the key. That should do the trick.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 15
9337
0
heinäk. 25
13
2
kesäk. 24
1372
0
tammik. 22
2548
1
kesäk. 21
3911