'This method handles the migration in which a new table with a column for the
values they\'ll get from the list field is made and maybe some empty columns to be filled in later.
That new table has a foreign key reference back to the original table.
Then for each value in the list field for each record in the original table,
they create one record in the new table that points back to the original record.
@param tablename_new      : name of the new table to which the list field needs to migrated
@param new_list_field     : name of the field in the new table which will hold the content of the list field
@param list_field_name    : name of the list field in the original table
@param table_old_id_field : name of the id field in the original table
@param tablename_old      : name of the original table'

def list_field_to_reference(self, tablename_new, new_list_field, list_field_name, table_old_id_field, tablename_old):

    self._create_new_table(tablename_new, new_list_field, list_field_name, table_old_id_field, tablename_old)
    self._fill_the_new_table(tablename_new, new_list_field, list_field_name, table_old_id_field, tablename_old)
