Fix help
This commit is contained in:
parent
6f4cd56fcd
commit
545e9a249b
|
|
@ -5,7 +5,8 @@ from establishment.models import Establishment, Position, Employee, Establishmen
|
|||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'Add employee position from old db to new db'
|
||||
help = '''Add employee position from old db to new db.
|
||||
Run after add_position and add_employee!'''
|
||||
|
||||
def empl_position_sql(self):
|
||||
with connections['legacy'].cursor() as cursor:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ from django.db.models import Q
|
|||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'Add employee from old db to new db'
|
||||
help = 'Add employee from old db to new db.'
|
||||
|
||||
def employees_sql(self):
|
||||
with connections['legacy'].cursor() as cursor:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user