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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GSOC2012/DatabaseMigration/Userguildlines

    v7 v8  
    1212{{{#!python
    1313import migration_scripts
    14 migration_scripts.migrating_to_unique_field(web2py_path,app,field_to_update,changed_table,list_of_tables_for_query)
     14migration_scripts.migrating_to_unique_field( web2py_path, app ,field_to_update , changed_table , list_of_tables)
    1515}}}
    1616
     
    1919||web2py_path ||The path to the web2py congaing the Eden app  (i.e "/home/web2py")||
    2020||app ||The name of the eden application of whose database needs to be migrated (i.e "eden")||
    21 ||field_to_update ||The name of the new table to which the list field needs to migrated||
    22 ||changed_table ||The name of the original table||
    23 ||list_of_tables_for_query||list_of_tables_for_query||
     21||field_to_update ||The name of the field with the unique and notnull property||
     22||changed_table ||The name of the original table in which the new unique field id added||
     23||list_of_tables || These contains the list of tables which the changed_tables references ||
    2424
    2525=== migration_renaming_field ===
     
    3636||web2py_path ||The path to the web2py congaing the Eden app  (i.e "/home/web2py")||
    3737||app ||The name of the eden application of whose database needs to be migrated (i.e "eden")||
    38 ||old_table ||The name of the original table||
    39 ||old_field_name ||The name of the field in the new table which will hold the content of the list field||
    40 ||new_field_name ||The name of the list field in the original table||
    41 ||attributes_to_copy ||The name of the id field in the original table||
     38||old_table ||The name of the table in which the field is renamed||
     39||old_field_name ||The name of the original field before renaming||
     40||new_field_name ||The name of the field after renaming||
     41||attributes_to_copy ||The list of attributes which needs to be copied from the old_field to the new_field (needed only in sqlite)||
    4242
    4343
     
    5555||web2py_path ||The path to the web2py congaing the Eden app  (i.e "/home/web2py")||
    5656||app ||The name of the eden application of whose database needs to be migrated (i.e "eden")||
    57 ||new_table_name ||The name of the new table to which the list field needs to migrated||
    58 ||old_table_name ||The name of the original table||
     57||old_table_name ||The name of the original table before renaming||
     58||new_table_name ||The name of the table after renaming||
    5959
    6060