parameters: (self)
docstring: Migrate from schema 1 to 2.
docstring_summary: Migrate from schema 1 to 2.
docstring_tokens: Migrate from schema 1 to 2 .
function: def migrate_1_to_2(self):
      """
      Migrate from schema 1 to 2.
      """
  
      if self.schema_version < 1:
          migrate_0_to_1(self)
  
      if self.schema_version == 1:
          self.schema_version = 2
          self.save()
          self.reload()
function_tokens: def migrate_1_to_2 ( self ) : if self . schema_version < 1 : migrate_0_to_1 ( self ) if self . schema_version == 1 : self . schema_version = 2 self . save ( ) self . reload ( )