Changes between Version 8 and Version 9 of GSOC2012/DatabaseMigration/Userguildlines


Ignore:
Timestamp:
08/16/12 15:28:06 (12 years ago)
Author:
anubhav
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSOC2012/DatabaseMigration/Userguildlines

    v8 v9  
    1212{{{#!python
    1313import migration_scripts
    14 migration_scripts.migrating_to_unique_field( web2py_path, app ,field_to_update , changed_table , list_of_tables)
     14import mapping_function
     15migration_scripts.migrating_to_unique_field( web2py_path, app ,field_to_update , changed_table , list_of_tables, mapping_function)
    1516}}}
    1617
     
    2223||changed_table ||The name of the original table in which the new unique field id added||
    2324||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 ||
    2426
    2527=== migration_renaming_field ===