主权项 |
1. A computer program product for deploying incremental script updates, the computer program product comprising:
one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions comprising:
program instructions to receive a first script and a second script, wherein the first script is associated with a database, and wherein the second script is a potential update to the first script;program instructions to create a first set and a second set by comparing the first script and the second script, wherein the first set includes elements that are present in only the second script, and wherein the second set includes elements that are present in the first script and the second script;program instructions to classify the elements associated with the first set, wherein program instructions to classify the elements associated with the first set comprise adding metadata tags to the elements associated with the first set corresponding to the function of the element;program instructions to create a context model, wherein the context model includes the elements and corresponding metadata tags associated with the first set and elements associated with the second set;program instructions to classify the elements associated with the first set as structural changes to the database;program instructions to create a data migration script based on the elements classified as structural changes;program instructions to create a third script from the elements classified as structural changes and the data migration script; andprogram instructions to deploy the third script as an update to the first script. |