Skip to content

Commit

Permalink
Add new migration
Browse files Browse the repository at this point in the history
  • Loading branch information
moshthepitt committed Jan 31, 2022
1 parent add91c0 commit 5978d6e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions small_small_hr/migrations/0011_auto_20220131_1640.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Generated by Django 3.1.2 on 2022-01-31 13:40

from decimal import Decimal
import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('small_small_hr', '0010_auto_20200626_1313'),
]

operations = [
migrations.AlterField(
model_name='annualleave',
name='allowed_days',
field=models.DecimalField(blank=True, decimal_places=1, default=21, help_text='Number of leave days allowed in a year.', max_digits=12, validators=[django.core.validators.MinValueValidator(Decimal('0.1'))], verbose_name='Allowed Leave days'),
),
migrations.AlterField(
model_name='annualleave',
name='carried_over_days',
field=models.DecimalField(blank=True, decimal_places=1, default=0, help_text='Number of leave days carried over into this year.', max_digits=12, validators=[django.core.validators.MinValueValidator(Decimal('0.1'))], verbose_name='Carried Over Leave days'),
),
migrations.AlterField(
model_name='annualleave',
name='year',
field=models.PositiveIntegerField(choices=[(2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023), (2024, 2024), (2025, 2025), (2026, 2026), (2027, 2027), (2028, 2028), (2029, 2029), (2030, 2030), (2031, 2031)], db_index=True, default=2017, verbose_name='Year'),
),
]

0 comments on commit 5978d6e

Please sign in to comment.