Hi all,

I'm forward David's email to the SAIL-Dev group.

Hi,



Here is a summary of what is the issue I encountered during the
development and enhancement of the dbmigration tool:

Dbmigartion issues
- assumption that the initial version is 0.
- cannot determine which version matches with the codebase being
checked out
- cannot determine which version matches with the current codebase
being deployed and running

Suggestions
- add a version file in the source to specify current version of
database being checkout
- promtp user to input the current running version
- dbmigration will migrate starting from the user input version to the
target checkout version



For new developer (first time check out code)
- run db init, create
- run db.migrate will create codebase_version table and stamp with
version of database checkout with the code

Please let me know if you need further info/clarification of the issue
and please advice if you have any further suggestions. Also let me
know if I should continue the enhancement given the above challenge, I
can still foresee hours of work ahead if we were to enhance the
dbmigration tool to be smart enough to handle all scenarios.


Thanks,

David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" 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/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to