Changes between Initial Version and Version 1 of GSOC2012/DatabaseMigration/Userguildlines


Ignore:
Timestamp:
08/16/12 14:02:34 (10 years ago)
Author:
anubhav
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSOC2012/DatabaseMigration/Userguildlines

    v1 v1  
     1[[TOC]]
     2== Comparson script ==
     3== Migration Script ==
     4All 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.
     5
     6Methods in migration_scripts file
     7=== list_field_to_reference ==
     8==== Purpose ====
     9
     10==== Example ====
     11http://pastebin.ubuntu.com/1142568/
     12
     13==== Method of Calling ====
     14{{{#!python
     15import migration_scripts
     16migration_scripts.list_field_to_reference(web2py_path,app,new_table_name , new_list_field , list_field_name , old_table_id_field , old_table)
     17}}}
     18
     19==== Description of arguments ====