Skip to content

Commit

Permalink
Merge pull request #1364 from 18F/migration-fix
Browse files Browse the repository at this point in the history
Split migration to fix deploy to staging
  • Loading branch information
neilmb authored Sep 30, 2021
2 parents c0057b2 + 687a536 commit a2b0c8a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tock/hours/migrations/0063_small_allocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='timecardobject',
name='project_allocation',
field=models.DecimalField(choices=[(0, '---'), (1.0, '100%'), (0.5, '50%'), (0.25, '25%'), (0.125, '12.5%')], decimal_places=3, default=0, max_digits=6),
field=models.DecimalField(choices=[(0, '---'), (1.0, '100%'), (0.5, '50%'), (0.25, '25%'), (0.125, '12.5%')], decimal_places=2, default=0, max_digits=5),
),
]
18 changes: 18 additions & 0 deletions tock/hours/migrations/0064_small_allocation2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.6 on 2021-09-30 17:06

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('hours', '0063_small_allocation'),
]

operations = [
migrations.AlterField(
model_name='timecardobject',
name='project_allocation',
field=models.DecimalField(choices=[(0, '---'), (1.0, '100%'), (0.5, '50%'), (0.25, '25%'), (0.125, '12.5%')], decimal_places=3, default=0, max_digits=6),
),
]

0 comments on commit a2b0c8a

Please sign in to comment.