Changes between Version 6 and Version 7 of GSOC2012/DatabaseMigration/Userguildlines


Ignore:
Timestamp:
08/16/12 15:16:21 (9 years ago)
Author:
anubhav
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSOC2012/DatabaseMigration/Userguildlines

    v6 v7  
    4242
    4343
    44 === migration_renaming_table(web2py_path, app ,old_table_name,new_table_name) ===
     44=== migration_renaming_table ===
    4545==== Purpose of the migration====
    46 
    47 ==== Example of the migration ====
    48 http://pastebin.ubuntu.com/1142568/
    4946
    5047==== Method of Calling ====
    5148{{{#!python
    5249import migration_scripts
    53 migration_scripts.list_field_to_reference(web2py_path,app,new_table_name , new_list_field , list_field_name , old_table_id_field , old_table)
     50migration_scripts.migration_renaming_table(web2py_path, app ,old_table_name,new_table_name)
    5451}}}
    5552
     
    5956||app ||The name of the eden application of whose database needs to be migrated (i.e "eden")||
    6057||new_table_name ||The name of the new table to which the list field needs to migrated||
    61 ||new_list_field ||The name of the field in the new table which will hold the content of the list field||
    62 ||list_field_name ||The name of the list field in the original table||
    63 ||old_table_id_field ||The name of the id field in the original table||
    64 ||old_table ||The name of the original table||
     58||old_table_name ||The name of the original table||
    6559
    6660