Files
tmhr/hrm/migrations/0010_employee_groups_alter_employee_pay_structure.py
2024-02-23 10:30:02 +00:00

25 lines
999 B
Python

# Generated by Django 5.0.2 on 2024-02-21 14:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('auth', '0012_alter_user_first_name_max_length'),
('hrm', '0009_alter_employee_pay_structure_employee_pay_rate_and_more'),
]
operations = [
migrations.AddField(
model_name='employee',
name='groups',
field=models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='employee_set', related_query_name='employee', to='auth.group', verbose_name='groups'),
),
migrations.AlterField(
model_name='employee',
name='pay_structure',
field=models.CharField(blank=True, choices=[('Once', 'One Off'), ('Daily', 'Daily'), ('Weekly', 'Weekly'), ('Monthly', 'Monthly'), ('Invoice', 'Invoice')], max_length=300, null=True),
),
]