Changes between Version 8 and Version 9 of GSOC2012/DatabaseMigration/Userguildlines
- Timestamp:
- 08/16/12 15:28:06 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GSOC2012/DatabaseMigration/Userguildlines
v8 v9 12 12 {{{#!python 13 13 import migration_scripts 14 migration_scripts.migrating_to_unique_field( web2py_path, app ,field_to_update , changed_table , list_of_tables) 14 import mapping_function 15 migration_scripts.migrating_to_unique_field( web2py_path, app ,field_to_update , changed_table , list_of_tables, mapping_function) 15 16 }}} 16 17 … … 22 23 ||changed_table ||The name of the original table in which the new unique field id added|| 23 24 ||list_of_tables || These contains the list of tables which the changed_tables references || 25 ||mapping_function || Gives the mappings to load the new values in the unique field || 24 26 25 27 === migration_renaming_field ===