I´d like to run DatabaseMigratorClass inside my system, only comands related to one specific table or view.For example:
- in form A: run profile Scripts- in form B: run only changes for table "X", fields, Fks, etc- in form C: run only proceduresIs that possible?Other question: If two users process the same PKG, what will happen?
Tks
1) I have a table to save the database version.R: How can I get the version? Is it a DDT version?2) I have a constant in my application where I manually change the version number.R: Ok3) I have a LoggedUsers table where I keep records of all users and their logged status. I know is not 100% reliable, but unless somebody crashed the data will be reliable.R: I have this one too... 4) When opening the application, it will compare the constant value with the one in the version table and they don't match, I will check if there are not users logged in LoggedUsers, then will call the migrator class to update the database.R: This is a problem to me! I have to garantee that my system only will open if the database is ok!Other thing is: Many users access the database remotely, and it´s so slow.....If I could upgrate DDT version in some pieces only when necessary... pretty cool!
Tks again...