HostMetric migration

This commit is contained in:
Martin Slemr
2023-02-27 11:25:09 +01:00
committed by John Westcott IV
parent e38f87eb1d
commit 7285d82f00
4 changed files with 4 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='hostmetric',
name='automated_counter',
field=models.IntegerField(default=0, help_text='How many times was the host automated'),
field=models.BigIntegerField(default=0, help_text='How many times was the host automated'),
),
migrations.AddField(
model_name='hostmetric',

View File

@@ -14,7 +14,7 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('date', models.DateField(unique=True)),
('license_consumed', models.BigIntegerField(default=0, help_text='How much unique hosts are consumed from the license')),
('license_consumed', models.BigIntegerField(default=0, help_text='How many unique hosts are consumed from the license')),
('license_capacity', models.BigIntegerField(default=0, help_text="'License capacity as max. number of unique hosts")),
(
'hosts_added',