diff --git a/RIGS/migrations/0050_auto_20230520_1520.py b/RIGS/migrations/0050_auto_20230520_1520.py
new file mode 100644
index 00000000..3d39f762
--- /dev/null
+++ b/RIGS/migrations/0050_auto_20230520_1520.py
@@ -0,0 +1,33 @@
+# Generated by Django 3.2.19 on 2023-05-20 14:20
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('RIGS', '0049_auto_20230520_1136'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='powertestrecord',
+ name='fd_earth_fault',
+ field=models.DecimalField(blank=True, decimal_places=2, help_text='Earth Fault Loop Impedance (ZS) / Ω', max_digits=6, null=True, verbose_name='Earth Fault Loop Impedance'),
+ ),
+ migrations.AlterField(
+ model_name='powertestrecord',
+ name='w1_earth_fault',
+ field=models.DecimalField(blank=True, decimal_places=2, help_text='Earth Fault Loop Impedance (ZS) / Ω', max_digits=6, null=True, verbose_name='Earth Fault Loop Impedance'),
+ ),
+ migrations.AlterField(
+ model_name='powertestrecord',
+ name='w2_earth_fault',
+ field=models.DecimalField(blank=True, decimal_places=2, help_text='Earth Fault Loop Impedance (ZS) / Ω', max_digits=6, null=True, verbose_name='Earth Fault Loop Impedance'),
+ ),
+ migrations.AlterField(
+ model_name='powertestrecord',
+ name='w3_earth_fault',
+ field=models.DecimalField(blank=True, decimal_places=2, help_text='Earth Fault Loop Impedance (ZS) / Ω', max_digits=6, null=True, verbose_name='Earth Fault Loop Impedance'),
+ ),
+ ]
diff --git a/RIGS/models.py b/RIGS/models.py
index f1d1793d..cc9e6df5 100644
--- a/RIGS/models.py
+++ b/RIGS/models.py
@@ -899,21 +899,21 @@ class PowerTestRecord(ReviewableModel, RevisionMixin):
fd_voltage_l2 = models.IntegerField(blank=True, null=True, verbose_name="First Distro Voltage L2-N", help_text="L2 - N")
fd_voltage_l3 = models.IntegerField(blank=True, null=True, verbose_name="First Distro Voltage L3-N", help_text="L3 - N")
fd_phase_rotation = models.BooleanField(blank=True, null=True, verbose_name="Phase Rotation", help_text="Phase Rotation
(if required)")
- fd_earth_fault = models.DecimalField(blank=True, null=True, max_digits=5, decimal_places=2, verbose_name="Earth Fault Loop Impedance", help_text=earth_fault_text)
+ fd_earth_fault = models.DecimalField(blank=True, null=True, max_digits=6, decimal_places=2, verbose_name="Earth Fault Loop Impedance", help_text=earth_fault_text)
fd_pssc = models.IntegerField(blank=True, null=True, verbose_name="PSCC", help_text=pssc_text)
# Worst case points
w1_description = models.CharField(blank=True, default='', max_length=255, help_text="Description")
w1_polarity = models.BooleanField(blank=True, null=True, help_text="Polarity Checked?")
w1_voltage = models.IntegerField(blank=True, null=True, help_text="Voltage / V")
- w1_earth_fault = models.DecimalField(blank=True, null=True, max_digits=5, decimal_places=2, verbose_name="Earth Fault Loop Impedance", help_text=earth_fault_text)
+ w1_earth_fault = models.DecimalField(blank=True, null=True, max_digits=6, decimal_places=2, verbose_name="Earth Fault Loop Impedance", help_text=earth_fault_text)
w2_description = models.CharField(blank=True, default='', max_length=255, help_text="Description")
w2_polarity = models.BooleanField(blank=True, null=True, help_text="Polarity Checked?")
w2_voltage = models.IntegerField(blank=True, null=True, help_text="Voltage / V")
- w2_earth_fault = models.DecimalField(blank=True, null=True, max_digits=5, decimal_places=2, verbose_name="Earth Fault Loop Impedance", help_text=earth_fault_text)
+ w2_earth_fault = models.DecimalField(blank=True, null=True, max_digits=6, decimal_places=2, verbose_name="Earth Fault Loop Impedance", help_text=earth_fault_text)
w3_description = models.CharField(blank=True, default='', max_length=255, help_text="Description")
w3_polarity = models.BooleanField(blank=True, null=True, help_text="Polarity Checked?")
w3_voltage = models.IntegerField(blank=True, null=True, help_text="Voltage / V")
- w3_earth_fault = models.DecimalField(blank=True, null=True, max_digits=5, decimal_places=2, verbose_name="Earth Fault Loop Impedance", help_text=earth_fault_text)
+ w3_earth_fault = models.DecimalField(blank=True, null=True, max_digits=6, decimal_places=2, verbose_name="Earth Fault Loop Impedance", help_text=earth_fault_text)
all_rcds_tested = models.BooleanField(blank=True, null=True, help_text="All circuit RCDs tested?
(using test button)")
public_sockets_tested = models.BooleanField(blank=True, null=True, help_text="Public/Performer accessible circuits tested?
(using socket tester)")