Suha Onay
unread,Sep 16, 2009, 5:39:13 AM9/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to migrate-users
Hi,
I plan to use the migrate.versioning.api to manage the versions of the
tables.
The project has different modules that have their own migrate.cfg
files. The module versions will depend on each other. So, the upgrades
are done version by version by controlling the dependecies.
If the modules of the project are configured as in different
repositories and their versions are whether same or different, does
not matter, it gives an error saying no X table of the first module.
>> sqlalchemy\schema.py", line 914, in column
>> sqlalchemy.exc.NoReferencedTableError: Could not find table 'X' with which to generate a foreign key
If the modules of the project are in the same repository and their
versions are whether same or different, does not matter, the upgrade
scripts do not give error. But the second modules (think there are 2
modules) tables are not created. The migrate_version table has this
modules version and does not have the first modules version in list.
What should I do?
Thanks.