summaryrefslogtreecommitdiff
path: root/nop/migrations/0001_initial.py
blob: 67a04e8cc8a692ccf780226dc8ebb7a3f887c2f1 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    app_label = 'nop'

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Master',
            fields=[
                ('timestamp', models.BigIntegerField(serialize=False, primary_key=True)),
                ('cart', models.IntegerField()),
                ('len', models.IntegerField(null=True, blank=True)),
                ('showtitle', models.CharField(max_length=765, blank=True)),
                ('title', models.CharField(max_length=765, blank=True)),
                ('artist', models.CharField(max_length=765, blank=True)),
                ('album', models.CharField(max_length=765, blank=True)),
                ('ismusic', models.IntegerField(null=True, blank=True)),
            ],
            options={
                'ordering': ['-timestamp'],
                'db_table': 'master',
            },
        ),
        migrations.CreateModel(
            name='Standby',
            fields=[
                ('timestamp', models.BigIntegerField(serialize=False, primary_key=True)),
                ('cart', models.IntegerField()),
                ('len', models.IntegerField(null=True, blank=True)),
                ('showtitle', models.CharField(max_length=765, blank=True)),
                ('title', models.CharField(max_length=765, blank=True)),
                ('artist', models.CharField(max_length=765, blank=True)),
                ('album', models.CharField(max_length=765, blank=True)),
                ('ismusic', models.IntegerField(null=True, blank=True)),
            ],
            options={
                'ordering': ['-timestamp'],
                'db_table': 'standby',
            },
        ),
        migrations.CreateModel(
            name='State',
            fields=[
                ('timestamp', models.BigIntegerField(serialize=False, primary_key=True)),
                ('state', models.CharField(max_length=96, blank=True)),
            ],
            options={
                'ordering': ['-timestamp'],
                'db_table': 'state',
            },
        ),
    ]