Skip to content

Commit

Permalink
create migration for test_analytics app
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry committed Jan 17, 2025
1 parent d2c2038 commit 9432b0d
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions shared/django_apps/test_analytics/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Generated by Django 4.2.16 on 2025-01-17 22:07

from django.db import migrations, models


class Migration(migrations.Migration):
initial = True

dependencies = []

operations = [
migrations.CreateModel(
name="Flake",
fields=[
("id", models.BigAutoField(primary_key=True, serialize=False)),
("repoid", models.IntegerField()),
("test_id", models.BinaryField()),
("recent_passes_count", models.IntegerField()),
("count", models.IntegerField()),
("fail_count", models.IntegerField()),
("start_date", models.DateTimeField()),
("end_date", models.DateTimeField(null=True)),
],
options={
"db_table": "test_analytics_flake",
"indexes": [
models.Index(
fields=["repoid"], name="test_analyt_repoid_fcd881_idx"
),
models.Index(
fields=["test_id"], name="test_analyt_test_id_f504a1_idx"
),
models.Index(
fields=["repoid", "test_id"],
name="test_analyt_repoid_0690c3_idx",
),
models.Index(
fields=["repoid", "end_date"],
name="test_analyt_repoid_9e2402_idx",
),
],
},
),
]
Empty file.

0 comments on commit 9432b0d

Please sign in to comment.