File size: 1,418 Bytes
38171fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Generated by Django 4.2 on 2023-12-06 13:59

from django.db import migrations, models
import uuid


class Migration(migrations.Migration):

    dependencies = [
        ("core", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="Stock",
            fields=[
                ("created_at", models.DateTimeField(auto_now_add=True, null=True)),
                ("updated_at", models.DateTimeField(auto_now=True, null=True)),
                (
                    "id",
                    models.UUIDField(
                        default=uuid.uuid4,
                        editable=False,
                        primary_key=True,
                        serialize=False,
                    ),
                ),
                ("name", models.CharField(max_length=200)),
                ("ltp", models.CharField(max_length=50, null=True)),
                ("percentage_change", models.CharField(max_length=50, null=True)),
                ("price_change", models.CharField(max_length=50, null=True)),
                ("link", models.URLField(max_length=50, null=True)),
                ("volume", models.CharField(max_length=50, null=True)),
                ("data", models.JSONField(null=True)),
                ("rank", models.IntegerField(null=True, unique=True)),
            ],
            options={
                "abstract": False,
            },
        ),
    ]