well I'll be damned, it worked
usage:
apt = Apt()
# old is coming via multi-db connection to mysql
# apt is saved in postgres
apt.id = old.id
# the seq name is {app}_{model}_id_seq
legacy_save(apt,'nsproperties_apt_id_seq')
# after all apts are imported then set the seq correctly:
set_max_seq
Hello -
I'm migrating a large site (mysql/php to postgres/django) and would
like to keep the primary ID of one of the tables. The id is public as
in people call other people on the phone and say "hey what about that
#9843 ?" all the code already refers to the ID for URLs etc.
I'm thinking that
2 matches
Mail list logo