Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

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

# 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')), 

], 

), 

]