Remove obsolete 'next_scheduled_maint' from asset model

Should fix production data...
This commit is contained in:
2020-04-13 16:14:06 +01:00
parent a0491891e9
commit be4a7baf8e
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
# Generated by Django 3.0.3 on 2020-04-13 15:13
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('assets', '0014_auto_20200218_1840'),
]
operations = [
migrations.RemoveField(
model_name='asset',
name='next_sched_maint',
),
]

View File

@@ -99,7 +99,6 @@ class Asset(models.Model, RevisionMixin):
purchase_price = models.DecimalField(blank=True, null=True, decimal_places=2, max_digits=10)
salvage_value = models.DecimalField(blank=True, null=True, decimal_places=2, max_digits=10)
comments = models.TextField(blank=True)
next_sched_maint = models.DateField(blank=True, null=True)
# Cable assets
is_cable = models.BooleanField(default=False)