SQLAlchemy DB Migration

M

Merwin

Hi everybody,

I'm looking for a way to migrate SQLAlchemy based database easily. I
found Migrate, but finally it's almost the same as doing the migration
by hand.

If this doesn't exists, do you think that it would be hard to do a
simple migration tool which would :

- Add/Delete columns from DB if they are not anymore in the models
(With a confirmation for deletion)
- Add/Delete constraints/sequences on table if they are not on the
model too

We could also imagine a way to :

- Handle column rename, with data copy from one to another
- Handle column type change, with proper data conversion

Of course, such a system can't be 100% automated, that's not the goal.
Human interventation will be needed, but it might be more simpler for
simple cases than Migrate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top