summaryrefslogtreecommitdiff
path: root/app/trading/migrations/0010_auto_20210716_1344.py
blob: 27b3a6f23bf5ed6511460cfb1607aa20570df910 (plain)
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
43
44
45
# Generated by Django 3.2.4 on 2021-07-16 13:44

from django.db import migrations, models
import django.db.models.deletion
import django.db.models.manager


class Migration(migrations.Migration):

    dependencies = [
        ('trading', '0009_luxtrade_is_wanderer'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='luxtrade',
            managers=[
                ('stats', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AddField(
            model_name='luxtrade',
            name='pl',
            field=models.FloatField(null=True),
        ),
        migrations.AddField(
            model_name='ticker',
            name='current_price',
            field=models.CharField(blank=True, max_length=243, null=True),
        ),
        migrations.AddField(
            model_name='ticker',
            name='price_date',
            field=models.DateTimeField(null=True),
        ),
        migrations.CreateModel(
            name='Price',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('price', models.CharField(blank=True, max_length=243, null=True)),
                ('price_date', models.DateTimeField()),
                ('symbol', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='trading.ticker')),
            ],
        ),
    ]