Files
bitcoin_monitor/monitor/migrations/0001_initial.py
2026-01-16 22:20:18 +03:00

28 lines
885 B
Python

# Generated by Django 6.0 on 2025-12-09 20:45
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='BitcoinPrice',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('timestamp', models.DateTimeField(auto_now_add=True)),
('price_usd', models.DecimalField(decimal_places=2, max_digits=20)),
('volume', models.DecimalField(blank=True, decimal_places=2, max_digits=30, null=True)),
('market_cap', models.DecimalField(blank=True, decimal_places=2, max_digits=30, null=True)),
],
options={
'ordering': ['-timestamp'],
},
),
]