Skip to content

Commit 3ccbd56

Browse files
committed
Fix: migrations that follow main branch state
1 parent 340471a commit 3ccbd56

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Generated by Django 5.1.1 on 2024-12-13 07:17
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('utxo_indexer', '0001_initial'),
10+
]
11+
12+
operations = [
13+
migrations.CreateModel(
14+
name='Config',
15+
fields=[
16+
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
17+
('node_version', models.CharField(max_length=256)),
18+
('git_tag', models.CharField(max_length=256)),
19+
('git_hash', models.CharField(max_length=40)),
20+
('build_date', models.PositiveIntegerField()),
21+
],
22+
),
23+
]

utxo_indexer/migrations/0002_version.py renamed to utxo_indexer/migrations/0003_version_delete_config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Generated by Django 5.1.1 on 2024-12-24 10:26
1+
# Generated by Django 5.1.1 on 2025-01-20 09:45
22

33
from django.db import migrations, models
44

55

66
class Migration(migrations.Migration):
77

88
dependencies = [
9-
('utxo_indexer', '0001_initial'),
9+
('utxo_indexer', '0002_version'),
1010
]
1111

1212
operations = [
@@ -22,4 +22,7 @@ class Migration(migrations.Migration):
2222
('history_seconds', models.PositiveIntegerField()),
2323
],
2424
),
25+
migrations.DeleteModel(
26+
name='Config',
27+
),
2528
]

0 commit comments

Comments
 (0)