Hi all!
I am an Elixir newbie, and not a Python professional too, and not a
database expert; that's why I have chosen Elixir to describe the
database layout -- it's really fast and (as far as I can see) it
creates *the* schema I was thinking about. So, first of all, lots of
thanks for SQLAlchemy and Elixir!
But anyway, as the project grows, we have to add new columns and/or
tables, and sometimes (rather rare) make some changes (for example,
change restrictions from 'cascade' to 'restrict').
So, I wonder if there is a way to automate this process. Say, having
old_model.py and new_model.py, call a 'DoMagic' function and get an
ALTER TABLE ... statements.
The other case is when we do not have an 'old_model.py' but it's
representation on a working database server.
I've found a sqlalchemy-migrate tool; should I try to use it since
Elixir is built on top of SQLAlchemy? Or is there a elixir-migrate
tool somewhere? I've heard of 'miruku', is it more powerfull then
sqlalchemy-migrate? What are the main differences or should one try
both? :) And mainly *what* will they migrate?
Thanks in advance!
--
Sergei
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---