![]() |
#3 |
Участник
|
Цитата:
Цитата:
The following changes can be made without an upgrade script:
1. Change the name of a field 2. Change the name of a table 3. Add a field to a table with a default value for every field 4. Add/change relations 5. Add/change non-unique indexes 6. Add/change delete actions 7. Add/change/delete temporary table The following changes require an upgrade script: 1. Delete a table and save data 2. Delete a field and save data 3. Add/change unique indexes 4. Change a non-unique index into a unique index 5. Restructure where data is stored. For example, moving data from one field to another 6. Correct old data inconsistencies 7. Populate new tables with existing data 8. Populate new fields with existing data or a default value that is different from the default value for the data type |
|
|
|