summaryrefslogtreecommitdiff
path: root/website/migrations/0001_initial.py
blob: 7a4082566a0a116198d4544d53921a6ef16a395b (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
# Generated by Django 2.2.2 on 2019-08-30 10:24

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='TextbookCompanionCategoryList',
            fields=[
                ('id', models.IntegerField(primary_key=True, serialize=False, unique=True)),
                ('category_name', models.CharField(max_length=100)),
                ('category_id', models.IntegerField()),
                ('maincategory', models.CharField(max_length=255)),
            ],
            options={
                'db_table': 'list_of_category',
            },
        ),
        migrations.CreateModel(
            name='TextbookCompanionSubCategoryList',
            fields=[
                ('id', models.IntegerField(primary_key=True, serialize=False, unique=True)),
                ('subcategory_id', models.IntegerField()),
                ('subcategory', models.CharField(max_length=255)),
                ('maincategory_id', models.IntegerField()),
            ],
            options={
                'db_table': 'list_of_subcategory',
            },
        ),
    ]