Skip to content

Commit 4eef192

Browse files
committed
Missed migration
1 parent 8821584 commit 4eef192

1 file changed

Lines changed: 73 additions & 0 deletions

File tree

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Generated by Django 4.2.9 on 2025-11-06 15:40
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
dependencies = [
8+
("core", "0006_colocresult_with_orphans"),
9+
]
10+
11+
operations = [
12+
migrations.CreateModel(
13+
name="ColocResultWithOrphans",
14+
fields=[
15+
(
16+
"id",
17+
models.BigAutoField(
18+
auto_created=True,
19+
primary_key=True,
20+
serialize=False,
21+
verbose_name="ID",
22+
),
23+
),
24+
(
25+
"uuid",
26+
models.CharField(
27+
db_index=True,
28+
help_text="A stable unique identifier for this entity. Should be specified on ingest.",
29+
max_length=32,
30+
unique=True,
31+
),
32+
),
33+
(
34+
"cross_signal",
35+
models.JSONField(
36+
help_text="Contains information about each signal and its lead variant's effect in the other signal's summary statistics",
37+
null=True,
38+
),
39+
),
40+
(
41+
"coloc_h3",
42+
models.FloatField(
43+
help_text="Probability that both traits are associated, but with different causal variants",
44+
verbose_name="H3",
45+
),
46+
),
47+
(
48+
"coloc_h4",
49+
models.FloatField(
50+
help_text="Probability that both traits are associated, with same causal variant",
51+
verbose_name="H4",
52+
),
53+
),
54+
(
55+
"r2",
56+
models.FloatField(
57+
help_text="R2 between the two signals' lead variants", null=True
58+
),
59+
),
60+
(
61+
"n_coloc_between_traits",
62+
models.PositiveIntegerField(
63+
help_text="Number of colocalizations in total between the two traits for this gene or locus in the overall dataset",
64+
null=True,
65+
),
66+
),
67+
],
68+
options={
69+
"db_table": "core_colocresult_with_orphans",
70+
"managed": False,
71+
},
72+
),
73+
]

0 commit comments

Comments
 (0)