You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.3 KiB
40 lines
1.3 KiB
# Generated by Django 2.1.4 on 2018-12-12 03:15
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Company',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('stock_code', models.CharField(max_length=20)),
|
|
('name', models.CharField(max_length=100)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='HistoryData',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('data', models.TextField()),
|
|
('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='stock_predict.Company')),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='PredictData',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('data', models.TextField()),
|
|
('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='stock_predict.Company')),
|
|
],
|
|
),
|
|
]
|