summaryrefslogtreecommitdiffstats
path: root/stator/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'stator/migrations')
-rw-r--r--stator/migrations/0002_stats_delete_statorerror.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/stator/migrations/0002_stats_delete_statorerror.py b/stator/migrations/0002_stats_delete_statorerror.py
new file mode 100644
index 0000000..5d22003
--- /dev/null
+++ b/stator/migrations/0002_stats_delete_statorerror.py
@@ -0,0 +1,31 @@
+# Generated by Django 4.1.4 on 2022-12-15 18:38
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("stator", "0001_initial"),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name="Stats",
+ fields=[
+ (
+ "model_label",
+ models.CharField(max_length=200, primary_key=True, serialize=False),
+ ),
+ ("statistics", models.JSONField()),
+ ("created", models.DateTimeField(auto_now_add=True)),
+ ("updated", models.DateTimeField(auto_now=True)),
+ ],
+ options={
+ "verbose_name_plural": "Stats",
+ },
+ ),
+ migrations.DeleteModel(
+ name="StatorError",
+ ),
+ ]