Commit 332f5da3 authored by Samuel GAIST's avatar Samuel GAIST Committed by Flavio TARSETTI
Browse files

[statistics][migrations] Pre-commit cleanup

parent 40b8919b
......@@ -27,32 +27,38 @@
from __future__ import unicode_literals
from django.db import migrations, models
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
]
dependencies = []
operations = [
migrations.CreateModel(
name='HourlyStatistics',
name="HourlyStatistics",
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('date', models.DateField()),
('hour', models.IntegerField()),
('cpu_time', models.FloatField(default=0)),
('max_memory', models.BigIntegerField(default=0)),
('data_read_size', models.BigIntegerField(default=0)),
('data_read_nb_blocks', models.IntegerField(default=0)),
('data_read_time', models.FloatField(default=0)),
('data_written_size', models.BigIntegerField(default=0)),
('data_written_nb_blocks', models.IntegerField(default=0)),
('data_written_time', models.FloatField(default=0)),
(
"id",
models.AutoField(
verbose_name="ID",
serialize=False,
auto_created=True,
primary_key=True,
),
),
("date", models.DateField()),
("hour", models.IntegerField()),
("cpu_time", models.FloatField(default=0)),
("max_memory", models.BigIntegerField(default=0)),
("data_read_size", models.BigIntegerField(default=0)),
("data_read_nb_blocks", models.IntegerField(default=0)),
("data_read_time", models.FloatField(default=0)),
("data_written_size", models.BigIntegerField(default=0)),
("data_written_nb_blocks", models.IntegerField(default=0)),
("data_written_time", models.FloatField(default=0)),
],
options={
'verbose_name_plural': 'Hourly statistics',
},
options={"verbose_name_plural": "Hourly statistics"},
),
]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment