12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- # Generated by Django 3.2.7 on 2021-10-11 15:04
- from django.db import migrations, models
- import django.db.models.deletion
- class Migration(migrations.Migration):
- initial = True
- dependencies = [
- ("files", "0001_squashed_0007_remove_file_blobs_file_blob"),
- (
- "projects",
- "0001_squashed_0009_alter_project_id_alter_projectcounter_id_and_more",
- ),
- ]
- operations = [
- migrations.CreateModel(
- name="DebugInformationFile",
- fields=[
- (
- "id",
- models.BigAutoField(
- auto_created=True,
- primary_key=True,
- serialize=False,
- verbose_name="ID",
- ),
- ),
- ("created", models.DateTimeField(auto_now_add=True, db_index=True)),
- ("name", models.TextField()),
- ("data", models.JSONField(blank=True, null=True)),
- (
- "file",
- models.ForeignKey(
- on_delete=django.db.models.deletion.CASCADE, to="files.file"
- ),
- ),
- (
- "project",
- models.ForeignKey(
- on_delete=django.db.models.deletion.CASCADE,
- to="projects.project",
- ),
- ),
- ],
- ),
- migrations.AddIndex(
- model_name="debuginformationfile",
- index=models.Index(
- fields=["project", "file"], name="difs_debugi_project_99cec2_idx"
- ),
- ),
- ]
|