first commit
This commit is contained in:
27
monitor/migrations/0001_initial.py
Normal file
27
monitor/migrations/0001_initial.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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'],
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user