[[TOC]] == Comparson script == == Migration Script == All the functions that does the migration have been added to migration_scripts file . migration_scripts file internally calls the functions of migration_helping_methods file too perform the migration . Thus in order to do the migration one just needs to import migration_scripts and call the method corresponding to the migration he wants . Also the user who wishes to do the migration in the db doesn't have to know the internal functioning of migration_script , thus the functions or the methods declared in migration_helping_methods file doesn't concern him. Methods in migration_scripts file === list_field_to_reference === ==== Purpose ==== ==== Example ==== http://pastebin.ubuntu.com/1142568/ ==== Method of Calling ==== {{{#!python import migration_scripts migration_scripts.list_field_to_reference(web2py_path,app,new_table_name , new_list_field , list_field_name , old_table_id_field , old_table) }}} ==== Description of arguments ==== web2py_path : The path to the web2py congaing the Eden app (i.e "/home/web2py")[[br]] app : The name of the eden application of whose database needs to be migrated (i.e "eden")[[br]] new_table_name : The name of the new table to which the list field needs to migrated[[br]] new_list_field : The name of the field in the new table which will hold the content of the list field[[br]] list_field_name : The name of the list field in the original table[[br]] old_table_id_field : The name of the id field in the original table[[br]] old_table : The name of the original table[[br]]