summaryrefslogtreecommitdiff
path: root/nop/migrations
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2015-12-30 08:42:12 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2015-12-30 08:42:12 (GMT)
commit87c905dbcec3d8c8587c832ed11abe1dc9fb8848 (patch)
tree21d2138b1e24a917bb9d46ec04500716f84ef4b7 /nop/migrations
parent318e0003da75f9854d4149509194c8f344874800 (diff)
added migrations for nop & program
Diffstat (limited to 'nop/migrations')
-rw-r--r--nop/migrations/0001_initial.py58
-rw-r--r--nop/migrations/__init__.py0
2 files changed, 58 insertions, 0 deletions
diff --git a/nop/migrations/0001_initial.py b/nop/migrations/0001_initial.py
new file mode 100644
index 0000000..200241b
--- /dev/null
+++ b/nop/migrations/0001_initial.py
@@ -0,0 +1,58 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ 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',
+ },
+ ),
+ ]
diff --git a/nop/migrations/__init__.py b/nop/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/nop/migrations/__init__.py