Now, if I were to do 'Booklink uninstall 1', then 'Booklink install 2', the changes inside the 'book_install' would no longer apply.
Let's look at it like this:
You have set up your new Application. You first go into "booklink_installer" to define the database-tables you need for your project (you define "books", "authors",...). Now you migrate using "./script/migrate Booklink install". This gives you the following files (next to "booklink_installer.php"):
Versions:
Now you do all changes concerning the books table in your "book_installer.php"; starting with Version "up_1()", and so on. Same goes for author.
When you do a downgrade on the books-table, you do it like "./script/migrate Book uninstall 1".
This will drop all settings you did AFTER you installed the main application (booklink), and will not concern anything else except your books-table settings.
Summary: Versions can be different in each installer (booklink, book, author, ...). Just make sure, you install (using "./script/migrate Book install") only those to which you've added new version-functions, rather than updating you whole application ("booklink") every time.
Update: oh baby, this was an "installer" too much,... baby (as from Austin Powers ;-))
1 to 6 of 6