35 lines
1.4 KiB
Python
35 lines
1.4 KiB
Python
# Generated by Django 3.1.6 on 2021-02-08 21:43
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='BhavCopyEquity',
|
|
fields=[
|
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
|
('date', models.DateField(auto_now_add=True)),
|
|
('sc_code', models.PositiveIntegerField()),
|
|
('sc_name', models.CharField(max_length=20)),
|
|
('sc_group', models.CharField(max_length=2)),
|
|
('sc_type', models.CharField(max_length=1)),
|
|
('open_price', models.DecimalField(decimal_places=2, max_digits=12)),
|
|
('high_price', models.DecimalField(decimal_places=2, max_digits=12)),
|
|
('low_price', models.DecimalField(decimal_places=2, max_digits=12)),
|
|
('close_price', models.DecimalField(decimal_places=2, max_digits=12)),
|
|
('last_price', models.DecimalField(decimal_places=2, max_digits=12)),
|
|
('prevclose_price', models.DecimalField(decimal_places=2, max_digits=12)),
|
|
('no_trades', models.PositiveIntegerField()),
|
|
('no_of_shrs', models.PositiveIntegerField()),
|
|
('net_turnov', models.PositiveIntegerField()),
|
|
('tdcloindi', models.TextField()),
|
|
],
|
|
),
|
|
]
|