def reverse_move_repos(apps, schema_editor):
 db = schema_editor.connection.alias
 RemoteRepository = apps.get_model(u'oauth', u'RemoteRepository')
 RemoteOrganization = apps.get_model(u'oauth', u'RemoteOrganization')
 RemoteRepository.objects.using(db).delete()
 RemoteOrganization.objects.using(db).delete()

def reverse_move_repos ( apps , schema_editor ) : db = schema_editor . connection . alias RemoteRepository = apps . get_model ( u'oauth' , u'RemoteRepository' ) RemoteOrganization = apps . get_model ( u'oauth' , u'RemoteOrganization' ) RemoteRepository . objects . using ( db ) . delete ( ) RemoteOrganization . objects . using ( db ) . delete ( )
drop oauth repos .